reorganize web app structure