Mouse Click detector implemented

now we just have to add the logic to the buttons and stuff