more refactoring. removed and ingored *.pyc files