Integrate papi and front end