Added DB Purge operation and resources, and handled insertion conflict constraints
Added Content Provider