Simple dependency injection library supporting es6 generators