main: added method get_class_name()
implemented main::extend_call() in core modules