move XStream to shared modules.