Added device orientation detection
Added camera video output and screen orientation