prettified main page, added directives for templates