Making use of pimple to do dependency injection.