Revert "use class so configure will work in rails initializer"

Reverts PipelineDeals/pipelinedeals_api#7