replace flask with fastAPI + uvicorn
drastically simplify the server code, remove threads, eliminate complicated classes, use simpler logic.
rename some files and do some mild restructuring to leverage fastAPI and pydantic in the future.
Somehow avoided any breaking changes, application works identically to before, no changes made to the API (yet).
Closes #50
Checklist
[x] If code changes were made then they have been tested.
[x] This PR fixes an issue.
[ ] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)
Summary
replace flask with fastAPI + uvicorn drastically simplify the server code, remove threads, eliminate complicated classes, use simpler logic. rename some files and do some mild restructuring to leverage fastAPI and pydantic in the future.
Somehow avoided any breaking changes, application works identically to before, no changes made to the API (yet).
Closes #50
Checklist