Changed MouseClickListener. Added posibility to add new gates, Nodes
with saving posibility of moving objects.