Add memory pooler
Add option to use emscripten output to ray tracer