```ruby
require 'net/dns'
require File.dirname(__FILE__) + "/project_honeypot/url.rb"
require File.dirname(__FILE__) + "/project_honeypot/base.rb"

module ProjectHoneypot
  def self.lookup(api_key, url)
    searcher = Base.new(api_key)
    searcher.lookup(url)
  end
end
```

Add configuration class and modify lookup to use this configuration
user
```ruby
require 'net/dns'
require File.dirname(__FILE__) + "/project_honeypot/url.rb"
require File.dirname(__FILE__) + "/project_honeypot/base.rb"

module ProjectHoneypot
  class << self
    attr_accessor :api_key

    def api_key
      raise "ProjectHoneypot really needs its api_key set to work" unless @api_key
      @api_key
    end

    def configure(&block)
        class_eval(&block)
    end
  end

  def self.lookup(api_key_or_url, url=nil)
    if url.nil?
      url = api_key_or_url
      api_key_or_url = ProjectHoneypot.api_key
    end
    searcher = Base.new(api_key_or_url)
    searcher.lookup(url)
  end
end
```
assistant