Moved hooke.libhookecurve -> hooke.curve and rewrote HookeCurve -> Curve class.