dispatcher working with GPIO interrupt driven.  a bit flakey, will try with polling
switching now working using polling;  also added in start stop scripts and daemonization