Adds searching for existing histories and finding recent contacted contacts. Adds tests for parsing ids(folder names) into history IDs.