Compaction

adds autocompaction because the db where I've been running this for a while is now up to 1.2 gigs