Add generic route functions and README.