Switch support

TODO: draw switch block icon