Refactoring and added _buildCURL
Commenting of _buildCURL