finished the index load and save functions;
began using them in the code, to save the state to an index file;
switched to saving the content in files named by the MD5 hash;