Default threads to hardware concurrency + 1

Also add the ability to configure the number of threads on the command line