main.htm is shifted to 'templates'