implemented sql storage and content provider