Implement and test class LEDProgram and Definition