started on db orm
changes for db orm