Adds support for multiple logs

Adds support for multiple logs and overhauls the Backbone.js code to be more best-practices-compliant. This completes one of the tasks in issue #1.