Commited: Add entries table. Connect to entries table rather than old tables.