Lightweight asynchronous promise-based dependency injector