Templating

initial templating commit