Adds database model