Rotation code integration
Merge pull request #6 from prinapp/Dale1

Rotation code integration