Basic functionality for localStorage added

As a bonus, search performance is greatly improved when extracting from
localStorage