initial commit of virtual power meter (this is just an import from the energino project)