Remove a redundant code from main method.
Make enter command message to final.
Extract a method "isEmptyString()" and add an else statement in
executeCommand() method.
Change all string messages to constants.
Reverse if-else condition in addRoute() method.
Extract a method routeEndpointsAreEmpty() in sameRoute() method for
better readibility.