Set default layout for application to main.gsp and removed direct references to it from views