Disabled contrib.auth as it is not used in any way. Some minor style fixes.
Renamed generate.py to sync.py, which is way more descriptive.