Update 16.07.2013

+ Refactoring
+ Implemented doT.js template engine
+ Started implementation of rest service, hit alot of snags and need to
rethink the approach