changed the Model class to be a singleton (only one instance, get with Model.getInstance())
updated classes using Model to correspond with new changes