setting up CDI