added load function to the functionsBase. file extension is .cdt