Redesigned the smartpower lib and added the command line tool meterprogram which returns how much watt hours are consumed
Renamed parts to make the porpuses clearer