Exceptions Handling

 - extracted single method for api calls (removed duplications)
 - added handling error responses
 - code cleanups