Rename register_class to register_class.rb