Factor out item picking up
Remove the insertall and dropall functions