(feat) added collections factory for client side queries