Fixed the DI configuration

This fixes a mistakes introduced in #24.
Closes #25
Merge pull request #26 from stof/fix_config

Fixed the DI configuration