database class is now a collection