class_from_string should have an exit condition when the class can't be found