Divided and restructured classes

Divided the processes around input/output e.g. click, keydown, had moved
to new file kadenz.io.js.  The core file kadenz.js have only internal
properties and interface methods.  The methods in Kadenz.Controller are
moved to Kadenz.