building out the app structure