Working with classes, also working with Templates