Refactored the way that templates are loaded, and executed
Added error handling for old way of running hamle