Added db and settings attributes to the BaseView to fast access to the collection and setting services