autoloading config.autoload_paths += Dir[#{config.root}/lib/**/] in application.rb