Added support for localStorage and erasing of all the code
Slightly improved parsing of entered data to input field