 
 class Doofinder
   ###
-  DfClient constructor
+  Doofinder constructor
 
   @param {String} hashid
   @param {String} api_key
   @api public
   ###
-  constructor: (@hashid, api_key, url, port, rpp) ->
+  constructor: (@hashid, api_key, rpp) ->
     @version = "4"
-    @rpp = 10
-    @page = 1
-    @transformer = "dflayer"
-    @params_preffix = "dfParam_"
-    @params = {}
+    
+    @params =
+      query: ""
+      filters: {}
+      rpp: 10
+      page: 1
+      transformer: "dflayer"
+      params_preffix: "dfParam_"
     
     if api_key
       [ zone, @api_key ] = api_key.split '-'
       @url = zone + "-search.doofinder.com"
 
-    if url
-      @url = url
-
-    if port
-      @port = port
-
     if rpp
-      @rpp = rpp
+      @params.rpp = rpp
   
   ###
   search

    req.end()

  ###
  add_filter

  This method adds a filter to query

  @api public
  ###
  add_filter: (filter_key, filter_values) ->
    @params.filters[filter_key] = filter_values

  ###
  add_term
