[SiteMVC] Small refactoring of main.ccs file