IoC configuration
database working