Implemented database and content provider