Starting work

First pass at some object-oriented development; very incomplete