Added tests
Moved rendering of templates to client-side with nunjunks using grunt