def get_class type
      case type
      when Class
        type
      when BaseModel
        type.my_class
      when String, Symbol
        return get_class send("#{type}_model") if [:subject, :object, :join].include?(type.to_sym)
        type.to_s.constantize
      else
        raise "Can't determine a class from: #{type}"
      end          
    end
def get_class type
      case type
      when Class
        type
      when BaseModel
        type.my_class
      when String, Symbol
        return get_class send("#{type}_model") if [:subject, :object, :join].include?(type.to_sym)
        type.to_s.constantize
      else
        raise "Can't determine a class from: #{type}"
      end          
    end
retrieves a given Class ie. a type of model
 @param [Class, String, Symbol, BaseModel] which class to get
 @return [Class] the Class (model) of interest