change directory libs and add xstream