Added code to export.
Finished separation of compiler and vm.