Add -j/--threads option to set number of threads