change capabilities from private to publich in SwitchesManager
Add get_switch_dpid to switches mnager

-Also more testing