implemented sqlite storage and content provider for posts