Use a hash instead of a list
additional logging for database and template routes
Merge pull request #10 from genome/logging

 additional logging for database and template routes