code: public static Application create(final BandwidthClient client, final Map<String, Object>params) throws Exception {
      	assert(client != null);
  
          String uri = client.getUserResourceUri(BandwidthConstants.APPLICATIONS_URI_PATH);
  
          RestResponse response = client.post(uri, params);
  
  
          RestResponse getResponse = client.get(response.getLocation(), null);
  
          return new Application(client, toJSONObject(getResponse));
      }
docs: Convenience factory method to create an Application object from a set of params with a given client
  @param client the client
  @param params the params
  @return the application
  @throws Exception error