refactoring in MachineContext
adding vm code with new ParsingContext