Trying to wrap all this in a Class

Not going very well…