jit refactoring
minimal jit engine separated from module. still has memory leaks