Rewrite in Flask; closes #4

- Use tracker; closes #5
- Use PDF.js; closes #6
- get PDF metadata