use configuration files for DI

Use symfony's configuration files for loading the services in DI in the application