server manager works fine
removed the repeated switching from file to string and so on
removed duplicate definitions of panels
moved server manager from test to main