Added support for delegate method using completion block. Useful when having jobs that happen asynchronously such as an HTTP request.
Merge pull request #3 from javierfigueroa/master

Small change to allow async logic within the delegate method