Implement content provider and loader to retrieve data from sqlite database.