First OO implementation

Moves all the globals into a class and defines the initialization code for the class.  Next:  Move the current and move_can functions into the class