Added Configuration class for better integration with Rails.