add remember every input option to class Config
refine code style