parameterize main method; make concurrency and message size configurable