Save CTL

Saving a CTL file is implemented. However, in prelim testing, it only
works for newly created data