new generator module, replacing generator package; ignore mac backup files and python pyc files