Implementing discovering algorithm of server index
+) Implement the algorithm with only one level +) Remove some redundant functions, corrects some interface
Test +) On Curie +) Test passed and results are correct