Changed error constants
Optimized imports
Changed constants use. Changed requests call. Changed version