Almost finished the server coding. Channel manager still needs work.