Fixed multiple bugs and got Yahoo and InfluxDB to working stage