cleanup for async thread code; introduced lock
ditched the sentinel concept because its thread-local, does not work well with gunicorn; syncronizing project calculation status via database
added migrations
added script to run Optima via gunicorn
improve(optimization): clean up imports & responses
Merge pull request #167 from StarterSquad/feature/341-threading-issues-with-async-calculations

Feature/341 threading issues with async calculations