added event reception and callback logic
Merge branch 'master' of github.com:mstump/libcql