reconstruct database access interface - use contentprovider now.