minimize variable
add else to see the conditions clearly
create constant for message status
change all the message to constant type
add isStringequals method that can be useful when it is necessary in
other function
applying reverse condition
added checkEmptyroute method to improve understanding
Merge remote-tracking branch 'origin/master'