Added some py2/py3 compatibility support.
Ignore *.pyc.
Changed class name.
Added validations to 'generators_search' method.