Basic templating system implemented
Basic error handling