Update Readme, to improve example code

Refactored code to use promises chaining for more clarity and less callback hell.