add config, controller, assets, route and main layout