initial commit

this code needs to be smashed agains the GUI with 16 channel capability
for testing