reorganized python code
removed unnecessary *.pyc