Support dynamic updating of history and use deltas for import
Change tokenizer and mapper for better search
pylint cleanup