added dic to all eventresolver and added some config