modules can now define their own template folder by specifying template_folder in the config