set app structure