add wrappers for promisifing nodejs callbacks