Generate app structure.