more DI playing around.

Added baseclass for service work.