add check for previously defined constant in const_missing implementation
extract controller class from rulers.rb
beginning of ch 5