Initial code for patchbay state support
Implement patchbay state for JACK