Add sensor class to get the phone orientation