Template Admin class

Implemented template admin class and fixed template admin class.
Merge pull request #30 from berendbaas/master

Template Admin class