main activity and database
base content provider and rewritten database helper