Added a model layer (kind of), still more to clean up here. Possibly going to use Mongoose