Added the Shared code
Added callback parameter
Updated README.md