adding rwmutex for port and link methods
adding RWMutex to switches map
removing extra lines
minor update
Merge pull request #15 from jonstout/safe

Safe. Adds RWMutexs to map types.