Use State as embedded to Container

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
Merge pull request #7839 from LK4D4/embed_state_to_container

Use State as embedded to Container