Stable version

Callbacks included. Perfomance improvements.