added Vm object and first methods (login, version)