Put all functions in a ECMeter class

There is no object instantiated. You'll have to create one in your sketch.
Also notice that the two ports for the software I2C are now D2/D3. The
Software I2C library is placed in the utility directory so that Arduino
IDE can pick it up.