moved some global constants from const.rb to conf.rb