Changed implementation of database helper to accept List of key-value pairs to add rather than one. Allows atomicity. Which is totally a word.