Implementing model as object, not functions.

It just makes more sense as a model object with methods.