add mouse position capturing and a simple billiard cue class