refactored list.listProjects() to listTemplates()
removed obsolete log
added check for templates dir