cheerwine, add config, fix a few things in python and postgres