move service declaration into library's manifest