[PATCH 1/4] ch: add persistent definition save and load