Move simplevm::VM code into lib.rs