Implementing some of the classes based on a simple test using TDD.