change lib directory structure

* add subfolder to accomodate protocol-related stuff
* change ContactHeader filename to become more specific