Cleanup whatever, support error and exception handle
Instead is_subclass_of with class_exists to free more ideas