Trema switch manager