Change _channels type to object

_channels was initiated as an array but it used as an object in the code.
While you can add your own properties to the array object it is not the
proper base type to use in this case.
Merge pull request #32 from tbusser/feature/channel-object

Change _channels type to object