add vm resource factory
VMResource
work on vm resource allocation
Merge branch 'master' of github.com:DemandCube/Scribengin