refactor api to remember node settings #10