TODO: wrap directory structure in a viewmodel

Wrap directory structure in a viewmodel class to make
setting up the treeview for browsing much simpler