moves timestamping of database models into parent model