rd, collate, namespace
document all service definition constants
added export tag