created content provider for database