Added route model and frontend (code from Tim)