How would you implement a robust dependency injection pattern in a multi-module mobile application for AllTrails?