Implement Router to match HTTP requests to controller actions.