Cleaned up and commented the Backbone code