merged router and switch objects into a network object (a bit more DRY now)