modified semaphore name
Implemented sensor reading APIs