added simple database models