core config return an implementation of teacher service