DB class and entryModel added