added device orientation, external alerts and log documentation