Db and ContentProvider template