Adding communicate library and calibrate code