Added database model
Added entity classes.