Some refactoring and start of the form, which shows the viewmanager content