Added sensor class

Will be used to control sensors icluding timeouts etc.