adding calibration controller

developing the calibration part