def all_classes
      klass = @app_class.constantize
      all_classes = []
      while klass != Object
        all_classes << klass
        klass = klass.superclass
      end
      all_classes.reverse
    end
def all_classes
      klass = @app_class.constantize
      all_classes = []
      while klass != Object
        all_classes << klass
        klass = klass.superclass
      end
      all_classes.reverse
    end
Class heirachry in top to down order