refactor: remove ContainerNode class