Create ref_setup.py

main window and acquisition control