Template improvements
configuring app within constructor
added `templates_path` configuration option