type hinting on constructor. Better comments
renamed find() to customFind() to eliminate confusion
commenting on generator classes
made query private so tests can use getArray
made methods public
made sure throwing proper exceptions