Created new classes.

Implemented some of the methods from the written pseudo code turned in
previously.