Refactored a classes to use the transformation object instead of the glm::mat4