added class for polling PIR, sonar to check for cars