Updated environment base path check. Added Curl class.