Finished building database and content provider.