changed libcurl location and inclusion
made variables public for testing