General cleaning up

* removed obsolete code
* rename python scripts to *.py
* fix some typos
*