rescaffold the app structure