Refactor subscriber management into module.
Use a router to mount API under common path.