Generic content for the tree view

And remove the MainController and its template, since Node can be used
instead.
Create Node entity and fetch node infos from the DB