Init app structure