use environment vars for appconfig
restructure build code into fabfile