SC-3: Implementation of main method to execute the service method