first version of index.ino including move-method and average calibration