Refactored orientations into single device files