unbreak url fetching
add templating support

still a work in progress. I'd like to add some sort of wrapping
information to the template somehow, in the future.

support for templates-as-files is next on the list