Added the main app structure.