store entire setup in a class, and use that as interface between GUI and logic