Move most code out of fabfile/config.py