Closes #5. Closes #3. Major changes, new advanced querying features, fixed schemas issue.