Implemented callback possibility to public API.
Added integration tests made possible by new callbacks.
Formatted code.
Updated readme according to the latest API.
Bumped version.