Added some comments
Added some comments
Implemented storing of data string to localStorage