metadata queries now working. mild code refactoring
search and object queries are now working