Pseudocode

Merging in initial app architecture.