fix value decode/encode. rename settings component into Manager