re-up fixes

mostly minor fixes. Refactored out ipaddress field into config item, among other things. consult cmdb_api.conf