Got basic templates working