Made LightManager more dynamic. Can support an arbitraty number of chanels now.