implement contento provider to read from db