Changed the way mouse clicks are handled
Added basic object manipulation