refactor and remove pyc from git repos