shell: Export hosts model and make it more useful.
WIP