Moved contact xml builder into seperate file