Added documentation for router and cwd