minor changes and modify some comments
 add configuration model
add method to analyze the result of the algorithm result