Minor refactoring to thread the channel ops
Splitting code into readable sections
Adding the sections into the README
Indentation