adds a create function to CurveDB