add event listener interface and handler to Orientationclass
implement SensorEventListener in Orientation class
use events in Orientation class
make interface public, rename event
register to Orientation class events
public modifier is not necessary in an interface