Refactored remove functionality, added a dictionary instead of array with int-ids so items inline can be removed