Added an example configuration file
Removed unused code and refactored template file loading