Reform data structure

Add class VmManager, SwcManager, RpcManager and ArpManager
vm_id generation

Use queue to generate unique vm_id for each VM.
Merge pull request #83 from powerist/failover

Code refinement