switching to Jcommander for handling options

@traiansf, @dwightguth please review