added sensor reading code, though out of it's support folder