lots more code tidying and even added Backbone - though only for events right now