Refactor internal tracer and compiler semantics
Add working constant tracking in JIT compiler