Refactor serving logic into a separate method for easier testing.
Refactor serving logic into a separate method for easier testing.

The GRPC server is started in the background and stopped gracefully
upon receipt of an SIGINT signal from the OS.

wallaceicy06/muni-sign,wallaceicy06/muni-sign,wallaceicy06/muni-sign