Added ContentProvider and DB access.