Moved Configuration in the Configurator Class

I moved template configuration out of the the application class into a
separate configurator class. In the future, we can add more
configurators for reading different kinds of files other than YAML and
setting the config options differently.