Introduced the command pattern to the service class
Applied the command pattern to the view controller