Beginning creation of clustered xs

Code will not work until I am done.