update comments and path handling in router
remove