Switch over to Berkely db and allow for custom configuration.