added a query method and ability to add a model to the collection