first pass at compiling and rendering templates
Merge pull request #4 from doowb/master

first pass at compiling and rendering templates