add *~ to .gitignore
add struct obid_result_t
use getopt
support summary deviation