Add start of HTML UI using knockout. Clean up demod and make more paramterised.