Add error handling.
More promises explanation
Refactor functions to use promises.
Final notes.