setup once

We already call setup function in every case so we can DRY here a bit
configurable UPPER_THRESHOLD
small fix in readme
Merge pull request #9 from Philosoft/config

Add config for upper threshold value