Upgraded to ttk.
Database entity layer implemented.