Created new common module to handle common game tasks, uses new capture and mouse click method.