built a query schema
added dependencies
fixed some abstract inconsistencies

added search details too