A library for modularize asynchronous calls