removed unused config
api doc
more queries
query tests