Its a huge hack (150 lines :p) that uses 2 slots to "compile" the imports and simulate the heap. I'll post code once I clean up the module syntax.