set routes
add main layouts and create a variable layout in base controller