adds a collection and router