Modularize switch connection

Create three classes: Topology, VmacManager and FlowManager.
Multi-tenancy can be toggled on/off.