commit before major refactory.
esql_model: So far the best approach seems to be using a separate EO table(children).