Currently most of the code is in one very long app.py file. We should split the functionality in different routers. At least we should have different files to handle:
- FITS packaging.
- Filter wheel.
- Astrometry.net
- Focus processing.
See f1-tcs for examples.