Implemented di container using Symfony2 YAML component and other features