updated gitignore to ignore .egg directories, removed some commented-out code that was no longer needed