fixed tabelView, added controller, updated gui