Added accessor and mutator methods for fontclass values. added test in update method to test string value, refactored some code