#155 Added functionality to collections, query is now supported.