Added the database model