refactor pdf generator
refactor pdf generator in front part
remove unused controller
remove test route
end controller refactor