adding setOrientation and getOrientation
Merge pull request #69 from bernii/master

Adding setOrientation and getOrientation handling