WIP: add dynamic configuration http endpoint and cmdline arguments

depend on #1151 

It is able to add and remove node now!
I am adding tests and refine code and refine argument/httpEndpoint format now.
send out early for feedback
we can also move this one to http