set up pipe models and index get route