Refactored routing code.
Made operation details collapsible.