path = File.expand_path(File.dirname(__FILE__))
$:.unshift(path) unless $:.include?(path)

require path + '/rfm/utilities/case_insensitive_hash'
require path + '/rfm/utilities/factory'

module Rfm
  
  class CommunicationError  < StandardError; end
  class ParameterError      < StandardError; end
  class AuthenticationError < StandardError; end

  autoload :Error,     'rfm/error'
  autoload :Server,    'rfm/server'
  autoload :Database,  'rfm/database'
  autoload :Layout,    'rfm/layout'
  autoload :Resultset, 'rfm/resultset'
  
end
# encoding: utf-8
require 'rfm/utilities/case_insensitive_hash'
require 'rfm/utilities/factory'
require 'rfm/error'
require 'rfm/server'
require 'rfm/database'
require 'rfm/layout'
require 'rfm/resultset'

module Rfm
  
  class CommunicationError  < StandardError; end
  class ParameterError      < StandardError; end
  class AuthenticationError < StandardError; end

end

Remove autoload in favor of require
Remove autoload in favor of require
