Starting to utilise events.

Signed-off-by: Ben Corlett <bencorlett@me.com>