3d scene refactor for adding kinect support