added config file
Basic db code
Get all docs in database and return as json