Adding templates

@d0ugal can merge if happy.