Added q promises to budget API. Issue #1.