Continuing work on the database structure and code for the TUI project.