made influxdb optional via configuration file (closes #7)