Added documentation and created an initialization promise on the query prototype to resolve after query run for first time