Added tempaltes, jinja2 functionality, and cgi functionality