Refactoring the service autowire start sequence