adding Database model