added templater prototype and modified the spec a little bit