Added a Startclass for choosing Tui or Gui
Added Singleton Pattern for Tui
Fixed Buggs in Tui and Figure