Added control phase xml output (started to)
Also cleaned up existing control phase output