arxiv: initial Flask extension commit

* Closes #289
* Improves arxiv part from #292