moved SMBus stuff from main to smbus.c/h