added cleanup and first cut of linq provider for virtual machines