Added a jinja map, modified the tk file so it supports the map.

At some point we should probably look at adding more perl support, but I don't use perl often enough to know what users might want.