moved the "system setup" class to the main script

Toplevel is used in tkinter.