created a model, with a few default properties, and methods