Added in base line exception classes.
Added machine level error handling for detecting cURL errors and reporting on them correctly.