Used DeliveryServiceImpl members instead of local variables.
Fixed Server DeliveryServiceImpl initialization.