Make batch size configurable.
Merge pull request #186 from EasonLiao/config_batch_size

Make batch size configurable.
Remove round robin election.