More promisified.
Refactoring
Improving logging and error handling.