Configuration

Work to complete issue #1 
Now warning and error thresholds are configurable