Meta-issue to track the refactoring of the server. Overall this would include:
- Packaging the package using a modern, PEP 517-compatible structure.
- Use FastAPI to deploy the API server.
- Document all routes using OpenAPI.
- Restructure code in different submodules for code heath and clarity.
Meta-issue to track the refactoring of the server. Overall this would include: