Adding curvetrack.cpp.