Documents are now also stored in a neat sqlite db