Added channels and channel factories, moved auto generated classes to separate folders.