added sound sensor class and code