Also renamed templates/ to projectname.templates/, refactored output