Config-based dependency injection container, inspired by Symfony2 and Spring