Added BaseModel as a parent for adding some functions to other models