a framwork that suport class inherit and call super dynamically