Now reconfig can remove node from cluster

The code is messy. I'll try refactoring them.