Refactored sensor repmgr