sets app structure.