main gui working (fixed philosophical error)

callable from the controller class!!!