Overhaul of GUI implementation

and view switch functionality
Remove singleview.ui