Added ability to get a VM from the pool

Fixed lots of issues and added the ability to pull a VM from the pool.