Agent Assignment edited Xmlserializer and refactored other things