a very basic chunker backed by sqlite