Changed how the onComplete callback works
Updated readme