Refactor PDF styling, PDF question parsing into helper modules