added support for adding / deleting items in the list, replaced queries with this keyword in event listeners where applicable