Templates prototyping

Prototypes for templates