refactor service codebase to use nitrogen-core and only expose registry interfaces