Added getCommandFactory() to Console