created base model, included create at and update attribute functions, and extended Eloquent