Setting app structure