added UML design for papi