Create ContainerElement
to_html and _to_html logic
Refactor add and delete HTML buttons
We don't need to add add button after the element
to_html functions needn't index