Add configuration file, refactor Channel module