save commands history into localStorage
add history length limitation
namespacify local storage key