progress with new sorting methods.
Add Categories to object metadata.
Move signatures and ObjectConstants to Metadata.