Changed server communication to use the HttpClient class with HttpRequest instead of URL/URLConnection. Added an HttpClientFactory to make substituting mock clients easier. Deleted useless classes (that were to be used with URL/URLConnection)