Added a position spec and class
Added spec and class for orientation