mouse click listener added to mainController. Some 'TODOs' written