Made controller logic more general and made it possible to run
Added support for controlling with MIDI synth