fix functools fn names.
add Bluebird as Q to global.