NodeMFS: change replica ordering in replica list
Some cleaning and refactoring of node.py