add consolecommand class