Depend on server class instead of hard-coded package name

Change-Id: I1739fa43310977c56dfea1d60be481200c5e1088