move to services
and made the pdf generation all in memory
Merge branch 'master' of https://github.com/digitalabs/Fieldbook