changed controller and gui
changed controller and gui