move constants to constant.rb