abstracted creation of ResourceDefs and minor cleanups
abstracted creation of ResourceDefs and minor cleanups

marian-r/curl,vtex/curl,djkost85/curl-1,djkost85/curl-1,dfd07d/curl,djkost85/curl-1,vtex/curl,cujojs/curl,marian-r/curl,dfd07d/curl,cujojs/curl,runt18/curl,cujojs/curl,vtex/curl,runt18/curl,dfd07d/curl,jaredcacurak/curl,jaredcacurak/curl,runt18/curl,jaredcacurak/curl,marian-r/curl