Adding qifyModule in utils.
Moving vm code to ES6.
Refactoring configure and vm_spec.