Code Changes | Added orientation

Add code changes for the orientation.

TODO: Add code for the Accelerometer