added command line parser
decreased paraller processing threds for upload