works with python templates, now time to make RESTful