WIP: Registering an activity. Vast rearrangement of workflow and domain
services.