adding addRoute option to server