added ability to build query with skip,limit, and order by