Set app structure