Changed interface for battery and ultrasoon to use threads.
Updated led interface.