Created basic execution loop for VM.