Completes initial set of Queries
Moved queries to subpackage. Writes generated code to disk. Organized tests