Use optparser package for parsing cmd line options