added converting to a converting class, added instance methods, wrote tests for each