Rework of list operations

- Convert local variable listId to field
- Switching to RestTemplate