Implement the service container and service command, add configuration for the service register