add setup.py script; add formats.pdf to handle PDF files