Commit parser

nit: order modules as described in pep8
http://legacy.python.org/dev/peps/pep-0008/#imports