added cdi to core.service