Update X lib structure. Move get/set to lib. Minor things and notes.