Ordering and functionality of `-discovery` `-peers` and data dir to find peers

@xiangli-cmu