Split path_router.rb
Refactor
Switch old syntax to Ruby2.0 syntax