Add some constants for easier testing
Simplify some interfaces, tempdirs in config, filecache, more unit tests
Unit test for filecache
Some text files for testing
Fix up LocalStorage and add a test for it