Moved functionality to VM object

Reached relative feature parity with VM functionality in its own object.