move TransformQueue into separate file