Adamdev

Finished moving all the heredocs to templates