move influx functions to proper subfolder