Move multi_learning_switch.rb to lib/