Simplify the inclusion relations between header files.
Correct the annotations of run_service function.