add modular service container code