code: public Map<String, Monomer> loadMonomerStore(Map<String, Attachment> attachmentDB)
  			throws IOException, URISyntaxException, EncoderException {
  		Map<String, Monomer> monomers = new TreeMap<String, Monomer>(String.CASE_INSENSITIVE_ORDER);
  
  		CloseableHttpClient httpclient = HttpClients.createDefault();
  		// There is no need to provide user credentials
  		// HttpClient will attempt to access current user security context
  		// through Windows platform specific methods via JNI.
  		CloseableHttpResponse response = null;
  		try {
  			HttpGet httpget = new HttpGet(
  					new URIBuilder(MonomerStoreConfiguration.getInstance().getWebserviceMonomersFullURL() + polymerType)
  							.build());
  
  			LOG.debug("Executing request " + httpget.getRequestLine());
  			response = httpclient.execute(httpget);
  			LOG.debug(response.getStatusLine().toString());
  
  			JsonFactory jsonf = new JsonFactory();
  			InputStream instream = response.getEntity().getContent();
  			if (response.getStatusLine().getStatusCode() != 200) {
  				throw new MonomerLoadingException("Response from the Webservice throws an error");
  			}
  			JsonParser jsonParser = jsonf.createJsonParser(instream);
  			monomers = deserializeMonomerStore(jsonParser, attachmentDB);
  			LOG.debug(monomers.size() + " " + polymerType + " monomers loaded");
  
  			EntityUtils.consume(response.getEntity());
  
  		} finally {
  			if (response != null) {
  				response.close();
  			}
  			if (httpclient != null) {
  				httpclient.close();
  			}
  		}
  
  		return monomers;
  	}
docs: Loads the monomer store using the URL configured in
  {@code MonomerStoreConfiguration} and the polymerType that was given to
  constructor.
  
  @param attachmentDB
  the attachments stored in Toolkit.
  
  @return Map containing monomers
  
  @throws IOException IO Error
  @throws URISyntaxException string could not be parsed as URI
  @throws EncoderException monomer store could be not encoded