Added saving of urls and keys into an in memory database
Merge into shortened table rather than insert to allow for duplicate update
Change configuration to write values to a file rather than in memory. Changed tests to explicit go to an in memory database