leds: move LED routines to a separate file