Base model import

This adds support for grid discovery and grouping of nodes.
Only base interfaces and abstract implementations together
with listener model.