Added documentation for query builder, added response objects.