Added implementation for Orientation class