Database now keeps track of models in self.models