@@ -0,0 +1,887 @@
+/**%0A * Copyright (c) 2016, German Neuroinformatics Node (G-Node)%0A *%0A * All rights reserved.%0A *%0A * Redistribution and use in source and binary forms, with or without%0A * modification, are permitted under the terms of the BSD License. See%0A * LICENSE file in the root of the Project.%0A */%0A%0Apackage org.g_node;%0A%0Aimport org.apache.commons.cli.CommandLine;%0Aimport org.apache.commons.cli.Options;%0A%0A/**%0A * Interface for command classes of individual tools.%0A *%0A * @author Michael Sonntag (sonntag@bio.lmu.de)%0A */%0Apublic interface Controller %7B%0A    /**%0A     * Method returning available commandline options of the tool corresponding to the command class.%0A     * @return Constructed set of commandline options.%0A     */%0A    Options options();%0A%0A    /**%0A     * Method running the tool corresponding to the command class.%0A     * @param cmd User commandline input.%0A     */%0A    void run(CommandLine cmd);%0A%7D%0A

add Controller interface