EntryType enum and BookEntry class added