Implemented data structures and factories.  Added unit tests for data
structures.