Setting up app directory structure. Code format cleanup.