backup api event routes and pdf generation classes