adding vm_monitor.py for machine learning