improving stream and factory
fixing js error api not on newest state
working on dynamically loading module
fixing iterator and closure
improving factories