added parse functionality, template rendering works like a charm