added Entry model and migrated entries table