add aconstructor to class to take a config object
rewrite constants out of low level checks, use config object instead
Merge branch 'configuration-checker'