Move LED stuff into separate class