First test version of query facade is finished.