allow configuration of health monitor

Also, refactored feature configuration into a hash rather
than using separate variables.