Created classes and added unit tests.