Added the ability to rotate BoundingBoxes and added layers