Initial code

This is the working code for this class. Updates will happen as they
happen. Feel free to fork and edit!