- added unit tests for the HttpClientService class
 - refactored other code