use class so configure will work in rails initializer
Merge pull request #7 from PipelineDeals/fix_configure_for_initializer

use class so configure will work in rails initializer