gras: fixed docs for factory
gras: jit factory api + unit tests