thesis: Add xcache struct