[#LIB-155] Refactor configuration store/read, reduce repetitive code | cn is set in store, not storeTo