added database interface to MobileDriveModel.