These notes are just so I can straighten out ideas about the architecture.