create packages and change app structure