Move around some packages and centralize the classes used for
managing representations of resources.