");
            if(fromLocalStorage){
                commandHistory = JSON.parse(fromLocalStorage);
            }
        }
        window.setInterval(
            function(){
                HistoryManager.saveHistory();
                 }, 5000);

        var commandMaxHistory = 100
        var index = -1;

        addCommandHistory = function(command){
                              if(commandHistory.length === commandMaxHistory){
                                  commandHistory.pop();
                  