Adding store/retrieve, extracted code from html. Big refactor coming ...