Added debug support
Added status and error API calls
Refactored climate extractor
Added status test