Added a base template. Fixed the other ones so that they all extend the base template.