add Application::addCommand and Application::getCommands