added server, added trackbars for calibration