public void registerMethods(Class<?> clazz){
        Method [] methods = clazz.getMethods();
        for(Method c : methods){
            if(Modifier.isStatic(c.getModifiers())){
                if(c.isAnnotationPresent(MazeGenerator.class)){
                    mazeGenerators.add(c);
                }else if(c.isAnnotationPresent(SubCommand.class)){
                    subCommands.add(c);
                }
            }
        }
    }