Move curvecp, split libcurvecp to its own dir