Added callback functions for onStart, onStep, onProgress and onComplete