Git rid of nasty constants, use yaml file for config - work in Ruby 2.1