fix delayed factory loading
struggling with async startup for npm calls
Merge pull request #4 from jcw/develop

Develop