Split I2C Master and Slave funciton definitions into two separate source files.