Moved some code out to a template
Added makefile for installing the template :/