implemented IUi in TUI
fixed some warnings
fixed Datenbank default sql loading