moving led24 controller into seperate class file