setup scene and connections