Add callbacks funtionality.
Merge pull request #41 from ionia-corporation/callbacks

Add callbacks funtionality.