use configuration files for DI

Use symfony's configuration files for loading registering services in DI