added basic db model