updated with state saved in json file
Remove state, improve clear functionality