reconfigure app structure