New method for ECommand.java

The ECommand.java now contains a method named getSubCommands(). It
returns a HashMap< String, ECommand > with all the subcommands.