added documentation about queries and objects