Implemented channel parsing. (Work in progress)