Template Admin class

Implemented template admin class and fixed stylesheet admin class.