Implemented first implementation of LDAPI for queries. Closing #54