Implemented rudimentary template engine