Add m_chanlog extension

Closes #27 
For sake of readability please put all defined constants in a shared header.