worked on initial GET #13

Wrote helper functions to generate the correct JSON to return.  Also
wrote code at an attempt to connect to database.  Does not work yet.