major changes to replace built-in support for InfluxDB with influxdb-go
might have fixed duplication problem (DB is not working properly so can not test solution)
first beta version