remove some warning
change NULL to nullptr
remove dependency to boost/program_options. cpp-optparse is used instead