initial move of the i2c motor stuff to a library