Added routing logic to Backbone application