added backbone as a lib, moved around functions and comments for easier understanding / reading