Merge pull request #75 from aplanas/master

A set of commits to detect dead code and clean the headers
Make pep8 happy, except for the long lines