pep8 coding style

* convert code to be pep8 compliant.
* clean some useless code.
* ignore *.pyc