Add registry
Sketch out tests for package xf