Translated section "Implementing your own DI" and correcting grammatical errors.