Added sensor support. Improved motes.