Refactor rectangles to items where possible.
Remove duplicate treeview.
Move header to main.qml.
Remove line feed.
Remove obsolete files.