Got rid of unused test_input function.
Moved the storage/retrieval functions to a new class VCardDB as static
functions. Templating functions are now separated out.