Added usage of collision and target events.
Calculation of points using events. Closes #24.