Refactoring: Move shared item code from APD and DDB-NEXT to DDB-Common