wrote encoder/decoder interfaces and added TLC5940 library