diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 0000000000000000000000000000000000000000..1269488f7fb1f4b56a8c0e5eb48cecbfadfa9219
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1 @@
+data
diff --git a/.env.tpl b/.env.tpl
index 8c6a3b60dc7e68c3b7edd96417b0f7e1bd63c505..ad27fb60e205e1672133a5ed65e55d1a18d521e8 100644
--- a/.env.tpl
+++ b/.env.tpl
@@ -1,11 +1,11 @@
 ################################################################################
 # Docker                                                                       #
 ################################################################################
-# DEFAULT: ./db
+# DEFAULT: ./data/db
 # NOTE: Use `.` as <project-root-dir>
 # HOST_DB_DIR=
 
-# DEFAULT: ./mq
+# DEFAULT: ./data/mq
 # NOTE: Use `.` as <project-root-dir>
 # HOST_MQ_DIR=
 
diff --git a/web/Dockerfile b/Dockerfile
similarity index 69%
rename from web/Dockerfile
rename to Dockerfile
index d5de03921f2cf8cf19c044770397e03eab92dce3..cec71a3fe1d333d6ddce8f557e56cc70a443b6bb 100644
--- a/web/Dockerfile
+++ b/Dockerfile
@@ -10,7 +10,7 @@ ARG GID
 ENV LANG=C.UTF-8
 
 
-EXPOSE 5000
+ENV FLASK_APP nopaque.py
 
 
 RUN apt-get update \
@@ -26,10 +26,17 @@ RUN groupadd --gid ${DOCKER_GID} --system docker \
 USER nopaque
 WORKDIR /home/nopaque
 
-
-COPY --chown=nopaque:nopaque [".", "."]
+COPY --chown=nopaque:nopaque requirements.txt ./
 RUN python -m venv venv \
  && venv/bin/pip install --requirement requirements.txt
 
 
+COPY --chown=nopaque:nopaque app app
+COPY --chown=nopaque:nopaque migrations migrations
+COPY --chown=nopaque:nopaque tests tests
+COPY --chown=nopaque:nopaque boot.sh config.py nopaque-daemon.sh nopaque.py ./
+
+
+# run-time configuration
+EXPOSE 5000
 ENTRYPOINT ["./boot.sh"]
diff --git a/README.md b/README.md
index f991459a429e303ff35ce1c58ee4bb458881a376..914733709e427eaa7374df6876a29a980e682972 100644
--- a/README.md
+++ b/README.md
@@ -39,6 +39,8 @@ username@hostname:~$ sudo mount --types cifs --options gid=${USER},password=nopa
 ``` bash
 # Clone the nopaque repository
 username@hostname:~$ git clone https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
+# Create data directories for the database and message queue
+username@hostname:~$ mkdir data/{db,mq}
 username@hostname:~$ cp db.env.tpl db.env
 username@hostname:~$ cp .env.tpl .env
 # Fill out the variables within these files.
@@ -58,7 +60,7 @@ username@hostname:~$ docker-compose build
 touch nopaque.log nopaqued.log
 # For background execution add the -d flag
 username@hostname:~$ docker-compose up
-# To scale your app use
+# To scale your app use the following command after starting it normally
 username@hostname:~$ docker-compose -f docker-compose.yml \
                                     -f docker-compose.override.yml
                                     -f docker-compose.scale.yml
diff --git a/web/app/__init__.py b/app/__init__.py
similarity index 100%
rename from web/app/__init__.py
rename to app/__init__.py
diff --git a/web/app/admin/__init__.py b/app/admin/__init__.py
similarity index 100%
rename from web/app/admin/__init__.py
rename to app/admin/__init__.py
diff --git a/web/app/admin/forms.py b/app/admin/forms.py
similarity index 100%
rename from web/app/admin/forms.py
rename to app/admin/forms.py
diff --git a/web/app/admin/views.py b/app/admin/views.py
similarity index 100%
rename from web/app/admin/views.py
rename to app/admin/views.py
diff --git a/web/app/auth/__init__.py b/app/auth/__init__.py
similarity index 100%
rename from web/app/auth/__init__.py
rename to app/auth/__init__.py
diff --git a/web/app/auth/forms.py b/app/auth/forms.py
similarity index 100%
rename from web/app/auth/forms.py
rename to app/auth/forms.py
diff --git a/web/app/auth/views.py b/app/auth/views.py
similarity index 100%
rename from web/app/auth/views.py
rename to app/auth/views.py
diff --git a/web/app/corpora/__init__.py b/app/corpora/__init__.py
similarity index 100%
rename from web/app/corpora/__init__.py
rename to app/corpora/__init__.py
diff --git a/web/app/corpora/events.py b/app/corpora/events.py
similarity index 100%
rename from web/app/corpora/events.py
rename to app/corpora/events.py
diff --git a/web/app/corpora/events2.py b/app/corpora/events2.py
similarity index 100%
rename from web/app/corpora/events2.py
rename to app/corpora/events2.py
diff --git a/web/app/corpora/forms.py b/app/corpora/forms.py
similarity index 100%
rename from web/app/corpora/forms.py
rename to app/corpora/forms.py
diff --git a/web/app/corpora/import_corpus.py b/app/corpora/import_corpus.py
similarity index 100%
rename from web/app/corpora/import_corpus.py
rename to app/corpora/import_corpus.py
diff --git a/web/app/corpora/tasks.py b/app/corpora/tasks.py
similarity index 100%
rename from web/app/corpora/tasks.py
rename to app/corpora/tasks.py
diff --git a/web/app/corpora/views.py b/app/corpora/views.py
similarity index 100%
rename from web/app/corpora/views.py
rename to app/corpora/views.py
diff --git a/web/app/decorators.py b/app/decorators.py
similarity index 100%
rename from web/app/decorators.py
rename to app/decorators.py
diff --git a/web/app/email.py b/app/email.py
similarity index 100%
rename from web/app/email.py
rename to app/email.py
diff --git a/web/app/errors/__init__.py b/app/errors/__init__.py
similarity index 100%
rename from web/app/errors/__init__.py
rename to app/errors/__init__.py
diff --git a/web/app/errors/handlers.py b/app/errors/handlers.py
similarity index 100%
rename from web/app/errors/handlers.py
rename to app/errors/handlers.py
diff --git a/web/app/events.py b/app/events.py
similarity index 100%
rename from web/app/events.py
rename to app/events.py
diff --git a/web/app/jobs/__init__.py b/app/jobs/__init__.py
similarity index 100%
rename from web/app/jobs/__init__.py
rename to app/jobs/__init__.py
diff --git a/web/app/jobs/tasks.py b/app/jobs/tasks.py
similarity index 100%
rename from web/app/jobs/tasks.py
rename to app/jobs/tasks.py
diff --git a/web/app/jobs/views.py b/app/jobs/views.py
similarity index 100%
rename from web/app/jobs/views.py
rename to app/jobs/views.py
diff --git a/web/app/main/__init__.py b/app/main/__init__.py
similarity index 100%
rename from web/app/main/__init__.py
rename to app/main/__init__.py
diff --git a/web/app/main/views.py b/app/main/views.py
similarity index 100%
rename from web/app/main/views.py
rename to app/main/views.py
diff --git a/web/app/models.py b/app/models.py
similarity index 100%
rename from web/app/models.py
rename to app/models.py
diff --git a/web/app/services/__init__.py b/app/services/__init__.py
similarity index 100%
rename from web/app/services/__init__.py
rename to app/services/__init__.py
diff --git a/web/app/services/forms.py b/app/services/forms.py
similarity index 100%
rename from web/app/services/forms.py
rename to app/services/forms.py
diff --git a/web/app/services/views.py b/app/services/views.py
similarity index 100%
rename from web/app/services/views.py
rename to app/services/views.py
diff --git a/web/app/settings/__init__.py b/app/settings/__init__.py
similarity index 100%
rename from web/app/settings/__init__.py
rename to app/settings/__init__.py
diff --git a/web/app/settings/forms.py b/app/settings/forms.py
similarity index 100%
rename from web/app/settings/forms.py
rename to app/settings/forms.py
diff --git a/web/app/settings/tasks.py b/app/settings/tasks.py
similarity index 100%
rename from web/app/settings/tasks.py
rename to app/settings/tasks.py
diff --git a/web/app/settings/views.py b/app/settings/views.py
similarity index 100%
rename from web/app/settings/views.py
rename to app/settings/views.py
diff --git a/web/app/static/css/material_icons.css b/app/static/css/material_icons.css
similarity index 100%
rename from web/app/static/css/material_icons.css
rename to app/static/css/material_icons.css
diff --git a/web/app/static/css/materialize.min.css b/app/static/css/materialize.min.css
similarity index 100%
rename from web/app/static/css/materialize.min.css
rename to app/static/css/materialize.min.css
diff --git a/web/app/static/css/materialize_fixes.css b/app/static/css/materialize_fixes.css
similarity index 100%
rename from web/app/static/css/materialize_fixes.css
rename to app/static/css/materialize_fixes.css
diff --git a/web/app/static/css/nopaque.css b/app/static/css/nopaque.css
similarity index 100%
rename from web/app/static/css/nopaque.css
rename to app/static/css/nopaque.css
diff --git a/web/app/static/css/nopaque_icons.css b/app/static/css/nopaque_icons.css
similarity index 100%
rename from web/app/static/css/nopaque_icons.css
rename to app/static/css/nopaque_icons.css
diff --git a/web/app/static/css/sidenav_fixed.css b/app/static/css/sidenav_fixed.css
similarity index 100%
rename from web/app/static/css/sidenav_fixed.css
rename to app/static/css/sidenav_fixed.css
diff --git a/web/app/static/css/sticky_footer.css b/app/static/css/sticky_footer.css
similarity index 100%
rename from web/app/static/css/sticky_footer.css
rename to app/static/css/sticky_footer.css
diff --git a/web/app/static/fonts/material_icons/MaterialIcons-Regular.ttf b/app/static/fonts/material_icons/MaterialIcons-Regular.ttf
similarity index 100%
rename from web/app/static/fonts/material_icons/MaterialIcons-Regular.ttf
rename to app/static/fonts/material_icons/MaterialIcons-Regular.ttf
diff --git a/web/app/static/fonts/material_icons/MaterialIconsOutlined-Regular.otf b/app/static/fonts/material_icons/MaterialIconsOutlined-Regular.otf
similarity index 100%
rename from web/app/static/fonts/material_icons/MaterialIconsOutlined-Regular.otf
rename to app/static/fonts/material_icons/MaterialIconsOutlined-Regular.otf
diff --git a/web/app/static/fonts/material_icons/MaterialIconsRound-Regular.otf b/app/static/fonts/material_icons/MaterialIconsRound-Regular.otf
similarity index 100%
rename from web/app/static/fonts/material_icons/MaterialIconsRound-Regular.otf
rename to app/static/fonts/material_icons/MaterialIconsRound-Regular.otf
diff --git a/web/app/static/fonts/material_icons/MaterialIconsSharp-Regular.otf b/app/static/fonts/material_icons/MaterialIconsSharp-Regular.otf
similarity index 100%
rename from web/app/static/fonts/material_icons/MaterialIconsSharp-Regular.otf
rename to app/static/fonts/material_icons/MaterialIconsSharp-Regular.otf
diff --git a/web/app/static/fonts/material_icons/MaterialIconsTwoTone-Regular.otf b/app/static/fonts/material_icons/MaterialIconsTwoTone-Regular.otf
similarity index 100%
rename from web/app/static/fonts/material_icons/MaterialIconsTwoTone-Regular.otf
rename to app/static/fonts/material_icons/MaterialIconsTwoTone-Regular.otf
diff --git a/web/app/static/fonts/nopaque_icons/nopaqueIcons-Regular.otf b/app/static/fonts/nopaque_icons/nopaqueIcons-Regular.otf
similarity index 100%
rename from web/app/static/fonts/nopaque_icons/nopaqueIcons-Regular.otf
rename to app/static/fonts/nopaque_icons/nopaqueIcons-Regular.otf
diff --git a/web/app/static/fonts/nopaque_icons/nopaqueIcons-Regular.woff b/app/static/fonts/nopaque_icons/nopaqueIcons-Regular.woff
similarity index 100%
rename from web/app/static/fonts/nopaque_icons/nopaqueIcons-Regular.woff
rename to app/static/fonts/nopaque_icons/nopaqueIcons-Regular.woff
diff --git a/web/app/static/fonts/nopaque_icons/nopaqueIcons-Regular.woff2 b/app/static/fonts/nopaque_icons/nopaqueIcons-Regular.woff2
similarity index 100%
rename from web/app/static/fonts/nopaque_icons/nopaqueIcons-Regular.woff2
rename to app/static/fonts/nopaque_icons/nopaqueIcons-Regular.woff2
diff --git a/web/app/static/images/logo_-_dfg.gif b/app/static/images/logo_-_dfg.gif
similarity index 100%
rename from web/app/static/images/logo_-_dfg.gif
rename to app/static/images/logo_-_dfg.gif
diff --git a/web/app/static/images/logo_-_sfb_1288.png b/app/static/images/logo_-_sfb_1288.png
similarity index 100%
rename from web/app/static/images/logo_-_sfb_1288.png
rename to app/static/images/logo_-_sfb_1288.png
diff --git a/web/app/static/images/nopaque_-_favicon.png b/app/static/images/nopaque_-_favicon.png
similarity index 100%
rename from web/app/static/images/nopaque_-_favicon.png
rename to app/static/images/nopaque_-_favicon.png
diff --git a/web/app/static/images/nopaque_-_logo.svg b/app/static/images/nopaque_-_logo.svg
similarity index 100%
rename from web/app/static/images/nopaque_-_logo.svg
rename to app/static/images/nopaque_-_logo.svg
diff --git a/web/app/static/images/nopaque_-_logo_name_slogan.svg b/app/static/images/nopaque_-_logo_name_slogan.svg
similarity index 100%
rename from web/app/static/images/nopaque_-_logo_name_slogan.svg
rename to app/static/images/nopaque_-_logo_name_slogan.svg
diff --git a/web/app/static/images/parallax_hq/book_text_read_paper.jpg b/app/static/images/parallax_hq/book_text_read_paper.jpg
similarity index 100%
rename from web/app/static/images/parallax_hq/book_text_read_paper.jpg
rename to app/static/images/parallax_hq/book_text_read_paper.jpg
diff --git a/web/app/static/images/parallax_hq/books_antique_book_old.jpg b/app/static/images/parallax_hq/books_antique_book_old.jpg
similarity index 100%
rename from web/app/static/images/parallax_hq/books_antique_book_old.jpg
rename to app/static/images/parallax_hq/books_antique_book_old.jpg
diff --git a/web/app/static/images/parallax_hq/concept_document_focus_letter.jpg b/app/static/images/parallax_hq/concept_document_focus_letter.jpg
similarity index 100%
rename from web/app/static/images/parallax_hq/concept_document_focus_letter.jpg
rename to app/static/images/parallax_hq/concept_document_focus_letter.jpg
diff --git a/web/app/static/images/parallax_hq/text_data_wide.png b/app/static/images/parallax_hq/text_data_wide.png
similarity index 100%
rename from web/app/static/images/parallax_hq/text_data_wide.png
rename to app/static/images/parallax_hq/text_data_wide.png
diff --git a/web/app/static/images/parallax_lq/01_books_antique_book_old.jpg b/app/static/images/parallax_lq/01_books_antique_book_old.jpg
similarity index 100%
rename from web/app/static/images/parallax_lq/01_books_antique_book_old.jpg
rename to app/static/images/parallax_lq/01_books_antique_book_old.jpg
diff --git a/web/app/static/images/parallax_lq/02_concept_document_focus_letter.jpg b/app/static/images/parallax_lq/02_concept_document_focus_letter.jpg
similarity index 100%
rename from web/app/static/images/parallax_lq/02_concept_document_focus_letter.jpg
rename to app/static/images/parallax_lq/02_concept_document_focus_letter.jpg
diff --git a/web/app/static/images/parallax_lq/03_text_data_wide.png b/app/static/images/parallax_lq/03_text_data_wide.png
similarity index 100%
rename from web/app/static/images/parallax_lq/03_text_data_wide.png
rename to app/static/images/parallax_lq/03_text_data_wide.png
diff --git a/web/app/static/images/parallax_lq/04_german_text_book_paper.jpg b/app/static/images/parallax_lq/04_german_text_book_paper.jpg
similarity index 100%
rename from web/app/static/images/parallax_lq/04_german_text_book_paper.jpg
rename to app/static/images/parallax_lq/04_german_text_book_paper.jpg
diff --git a/web/app/static/images/parallax_lq/05_chapter_book_text_tale.jpg b/app/static/images/parallax_lq/05_chapter_book_text_tale.jpg
similarity index 100%
rename from web/app/static/images/parallax_lq/05_chapter_book_text_tale.jpg
rename to app/static/images/parallax_lq/05_chapter_book_text_tale.jpg
diff --git a/web/app/static/images/parallax_lq/bible_text.jpg b/app/static/images/parallax_lq/bible_text.jpg
similarity index 100%
rename from web/app/static/images/parallax_lq/bible_text.jpg
rename to app/static/images/parallax_lq/bible_text.jpg
diff --git a/web/app/static/images/parallax_lq/text_data.png b/app/static/images/parallax_lq/text_data.png
similarity index 100%
rename from web/app/static/images/parallax_lq/text_data.png
rename to app/static/images/parallax_lq/text_data.png
diff --git a/web/app/static/images/qr_-_inf.svg b/app/static/images/qr_-_inf.svg
similarity index 100%
rename from web/app/static/images/qr_-_inf.svg
rename to app/static/images/qr_-_inf.svg
diff --git a/web/app/static/images/server_activity.png b/app/static/images/server_activity.png
similarity index 100%
rename from web/app/static/images/server_activity.png
rename to app/static/images/server_activity.png
diff --git a/web/app/static/images/sfb_background.jpeg b/app/static/images/sfb_background.jpeg
similarity index 100%
rename from web/app/static/images/sfb_background.jpeg
rename to app/static/images/sfb_background.jpeg
diff --git a/web/app/static/images/workflow.png b/app/static/images/workflow.png
similarity index 100%
rename from web/app/static/images/workflow.png
rename to app/static/images/workflow.png
diff --git a/web/app/static/js/darkreader.js b/app/static/js/darkreader.js
similarity index 100%
rename from web/app/static/js/darkreader.js
rename to app/static/js/darkreader.js
diff --git a/web/app/static/js/jsonpatch.min.js b/app/static/js/jsonpatch.min.js
similarity index 100%
rename from web/app/static/js/jsonpatch.min.js
rename to app/static/js/jsonpatch.min.js
diff --git a/web/app/static/js/list.min.js b/app/static/js/list.min.js
similarity index 100%
rename from web/app/static/js/list.min.js
rename to app/static/js/list.min.js
diff --git a/web/app/static/js/list.min.js.map b/app/static/js/list.min.js.map
similarity index 100%
rename from web/app/static/js/list.min.js.map
rename to app/static/js/list.min.js.map
diff --git a/web/app/static/js/materialize.min.js b/app/static/js/materialize.min.js
similarity index 100%
rename from web/app/static/js/materialize.min.js
rename to app/static/js/materialize.min.js
diff --git a/web/app/static/js/modules/corpus_analysis/client/Client.js b/app/static/js/modules/corpus_analysis/client/Client.js
similarity index 100%
rename from web/app/static/js/modules/corpus_analysis/client/Client.js
rename to app/static/js/modules/corpus_analysis/client/Client.js
diff --git a/web/app/static/js/modules/corpus_analysis/client/callbacks.js b/app/static/js/modules/corpus_analysis/client/callbacks.js
similarity index 100%
rename from web/app/static/js/modules/corpus_analysis/client/callbacks.js
rename to app/static/js/modules/corpus_analysis/client/callbacks.js
diff --git a/web/app/static/js/modules/corpus_analysis/client/listeners.js b/app/static/js/modules/corpus_analysis/client/listeners.js
similarity index 100%
rename from web/app/static/js/modules/corpus_analysis/client/listeners.js
rename to app/static/js/modules/corpus_analysis/client/listeners.js
diff --git a/web/app/static/js/modules/corpus_analysis/model/Results.js b/app/static/js/modules/corpus_analysis/model/Results.js
similarity index 100%
rename from web/app/static/js/modules/corpus_analysis/model/Results.js
rename to app/static/js/modules/corpus_analysis/model/Results.js
diff --git a/web/app/static/js/modules/corpus_analysis/view/ResultsView.js b/app/static/js/modules/corpus_analysis/view/ResultsView.js
similarity index 100%
rename from web/app/static/js/modules/corpus_analysis/view/ResultsView.js
rename to app/static/js/modules/corpus_analysis/view/ResultsView.js
diff --git a/web/app/static/js/modules/corpus_analysis/view/callbacks.js b/app/static/js/modules/corpus_analysis/view/callbacks.js
similarity index 100%
rename from web/app/static/js/modules/corpus_analysis/view/callbacks.js
rename to app/static/js/modules/corpus_analysis/view/callbacks.js
diff --git a/web/app/static/js/modules/corpus_analysis/view/listeners.js b/app/static/js/modules/corpus_analysis/view/listeners.js
similarity index 100%
rename from web/app/static/js/modules/corpus_analysis/view/listeners.js
rename to app/static/js/modules/corpus_analysis/view/listeners.js
diff --git a/web/app/static/js/modules/corpus_analysis/view/scrollToTop.js b/app/static/js/modules/corpus_analysis/view/scrollToTop.js
similarity index 100%
rename from web/app/static/js/modules/corpus_analysis/view/scrollToTop.js
rename to app/static/js/modules/corpus_analysis/view/scrollToTop.js
diff --git a/web/app/static/js/modules/corpus_analysis/view/spinner.js b/app/static/js/modules/corpus_analysis/view/spinner.js
similarity index 100%
rename from web/app/static/js/modules/corpus_analysis/view/spinner.js
rename to app/static/js/modules/corpus_analysis/view/spinner.js
diff --git a/web/app/static/js/nopaque/RessourceDisplays/CorpusDisplay.js b/app/static/js/nopaque/RessourceDisplays/CorpusDisplay.js
similarity index 100%
rename from web/app/static/js/nopaque/RessourceDisplays/CorpusDisplay.js
rename to app/static/js/nopaque/RessourceDisplays/CorpusDisplay.js
diff --git a/web/app/static/js/nopaque/RessourceDisplays/JobDisplay.js b/app/static/js/nopaque/RessourceDisplays/JobDisplay.js
similarity index 100%
rename from web/app/static/js/nopaque/RessourceDisplays/JobDisplay.js
rename to app/static/js/nopaque/RessourceDisplays/JobDisplay.js
diff --git a/web/app/static/js/nopaque/RessourceDisplays/RessourceDisplay.js b/app/static/js/nopaque/RessourceDisplays/RessourceDisplay.js
similarity index 100%
rename from web/app/static/js/nopaque/RessourceDisplays/RessourceDisplay.js
rename to app/static/js/nopaque/RessourceDisplays/RessourceDisplay.js
diff --git a/web/app/static/js/nopaque/RessourceLists/CorpusFileList.js b/app/static/js/nopaque/RessourceLists/CorpusFileList.js
similarity index 100%
rename from web/app/static/js/nopaque/RessourceLists/CorpusFileList.js
rename to app/static/js/nopaque/RessourceLists/CorpusFileList.js
diff --git a/web/app/static/js/nopaque/RessourceLists/CorpusList.js b/app/static/js/nopaque/RessourceLists/CorpusList.js
similarity index 100%
rename from web/app/static/js/nopaque/RessourceLists/CorpusList.js
rename to app/static/js/nopaque/RessourceLists/CorpusList.js
diff --git a/web/app/static/js/nopaque/RessourceLists/JobInputList.js b/app/static/js/nopaque/RessourceLists/JobInputList.js
similarity index 100%
rename from web/app/static/js/nopaque/RessourceLists/JobInputList.js
rename to app/static/js/nopaque/RessourceLists/JobInputList.js
diff --git a/web/app/static/js/nopaque/RessourceLists/JobList.js b/app/static/js/nopaque/RessourceLists/JobList.js
similarity index 100%
rename from web/app/static/js/nopaque/RessourceLists/JobList.js
rename to app/static/js/nopaque/RessourceLists/JobList.js
diff --git a/web/app/static/js/nopaque/RessourceLists/JobResultList.js b/app/static/js/nopaque/RessourceLists/JobResultList.js
similarity index 100%
rename from web/app/static/js/nopaque/RessourceLists/JobResultList.js
rename to app/static/js/nopaque/RessourceLists/JobResultList.js
diff --git a/web/app/static/js/nopaque/RessourceLists/QueryResultList.js b/app/static/js/nopaque/RessourceLists/QueryResultList.js
similarity index 100%
rename from web/app/static/js/nopaque/RessourceLists/QueryResultList.js
rename to app/static/js/nopaque/RessourceLists/QueryResultList.js
diff --git a/web/app/static/js/nopaque/RessourceLists/RessourceList.js b/app/static/js/nopaque/RessourceLists/RessourceList.js
similarity index 100%
rename from web/app/static/js/nopaque/RessourceLists/RessourceList.js
rename to app/static/js/nopaque/RessourceLists/RessourceList.js
diff --git a/web/app/static/js/nopaque/RessourceLists/UserList.js b/app/static/js/nopaque/RessourceLists/UserList.js
similarity index 100%
rename from web/app/static/js/nopaque/RessourceLists/UserList.js
rename to app/static/js/nopaque/RessourceLists/UserList.js
diff --git a/web/app/static/js/nopaque/main.js b/app/static/js/nopaque/main.js
similarity index 100%
rename from web/app/static/js/nopaque/main.js
rename to app/static/js/nopaque/main.js
diff --git a/web/app/static/js/socket.io.min.js b/app/static/js/socket.io.min.js
similarity index 100%
rename from web/app/static/js/socket.io.min.js
rename to app/static/js/socket.io.min.js
diff --git a/web/app/static/js/socket.io.min.js.map b/app/static/js/socket.io.min.js.map
similarity index 100%
rename from web/app/static/js/socket.io.min.js.map
rename to app/static/js/socket.io.min.js.map
diff --git a/web/app/static/json_schema/combined_ners_tags.txt b/app/static/json_schema/combined_ners_tags.txt
similarity index 100%
rename from web/app/static/json_schema/combined_ners_tags.txt
rename to app/static/json_schema/combined_ners_tags.txt
diff --git a/web/app/static/json_schema/nopaque_cqi_py_results_schema.json b/app/static/json_schema/nopaque_cqi_py_results_schema.json
similarity index 100%
rename from web/app/static/json_schema/nopaque_cqi_py_results_schema.json
rename to app/static/json_schema/nopaque_cqi_py_results_schema.json
diff --git a/web/app/tasks/__init__.py b/app/tasks/__init__.py
similarity index 100%
rename from web/app/tasks/__init__.py
rename to app/tasks/__init__.py
diff --git a/web/app/tasks/corpus_utils.py b/app/tasks/corpus_utils.py
similarity index 100%
rename from web/app/tasks/corpus_utils.py
rename to app/tasks/corpus_utils.py
diff --git a/web/app/tasks/job_utils.py b/app/tasks/job_utils.py
similarity index 100%
rename from web/app/tasks/job_utils.py
rename to app/tasks/job_utils.py
diff --git a/web/app/templates/_colors.html.j2 b/app/templates/_colors.html.j2
similarity index 100%
rename from web/app/templates/_colors.html.j2
rename to app/templates/_colors.html.j2
diff --git a/web/app/templates/_footer.html.j2 b/app/templates/_footer.html.j2
similarity index 100%
rename from web/app/templates/_footer.html.j2
rename to app/templates/_footer.html.j2
diff --git a/web/app/templates/_navbar.html.j2 b/app/templates/_navbar.html.j2
similarity index 100%
rename from web/app/templates/_navbar.html.j2
rename to app/templates/_navbar.html.j2
diff --git a/web/app/templates/_roadmap.html.j2 b/app/templates/_roadmap.html.j2
similarity index 100%
rename from web/app/templates/_roadmap.html.j2
rename to app/templates/_roadmap.html.j2
diff --git a/web/app/templates/_scripts.html.j2 b/app/templates/_scripts.html.j2
similarity index 100%
rename from web/app/templates/_scripts.html.j2
rename to app/templates/_scripts.html.j2
diff --git a/web/app/templates/_sidenav.html.j2 b/app/templates/_sidenav.html.j2
similarity index 100%
rename from web/app/templates/_sidenav.html.j2
rename to app/templates/_sidenav.html.j2
diff --git a/web/app/templates/_styles.html.j2 b/app/templates/_styles.html.j2
similarity index 100%
rename from web/app/templates/_styles.html.j2
rename to app/templates/_styles.html.j2
diff --git a/web/app/templates/admin/_breadcrumbs.html.j2 b/app/templates/admin/_breadcrumbs.html.j2
similarity index 100%
rename from web/app/templates/admin/_breadcrumbs.html.j2
rename to app/templates/admin/_breadcrumbs.html.j2
diff --git a/web/app/templates/admin/edit_user.html.j2 b/app/templates/admin/edit_user.html.j2
similarity index 100%
rename from web/app/templates/admin/edit_user.html.j2
rename to app/templates/admin/edit_user.html.j2
diff --git a/web/app/templates/admin/user.html.j2 b/app/templates/admin/user.html.j2
similarity index 100%
rename from web/app/templates/admin/user.html.j2
rename to app/templates/admin/user.html.j2
diff --git a/web/app/templates/admin/users.html.j2 b/app/templates/admin/users.html.j2
similarity index 100%
rename from web/app/templates/admin/users.html.j2
rename to app/templates/admin/users.html.j2
diff --git a/web/app/templates/auth/_breadcrumbs.html.j2 b/app/templates/auth/_breadcrumbs.html.j2
similarity index 100%
rename from web/app/templates/auth/_breadcrumbs.html.j2
rename to app/templates/auth/_breadcrumbs.html.j2
diff --git a/web/app/templates/auth/email/confirm.html.j2 b/app/templates/auth/email/confirm.html.j2
similarity index 100%
rename from web/app/templates/auth/email/confirm.html.j2
rename to app/templates/auth/email/confirm.html.j2
diff --git a/web/app/templates/auth/email/confirm.txt.j2 b/app/templates/auth/email/confirm.txt.j2
similarity index 100%
rename from web/app/templates/auth/email/confirm.txt.j2
rename to app/templates/auth/email/confirm.txt.j2
diff --git a/web/app/templates/auth/email/reset_password.html.j2 b/app/templates/auth/email/reset_password.html.j2
similarity index 100%
rename from web/app/templates/auth/email/reset_password.html.j2
rename to app/templates/auth/email/reset_password.html.j2
diff --git a/web/app/templates/auth/email/reset_password.txt.j2 b/app/templates/auth/email/reset_password.txt.j2
similarity index 100%
rename from web/app/templates/auth/email/reset_password.txt.j2
rename to app/templates/auth/email/reset_password.txt.j2
diff --git a/web/app/templates/auth/login.html.j2 b/app/templates/auth/login.html.j2
similarity index 100%
rename from web/app/templates/auth/login.html.j2
rename to app/templates/auth/login.html.j2
diff --git a/web/app/templates/auth/register.html.j2 b/app/templates/auth/register.html.j2
similarity index 100%
rename from web/app/templates/auth/register.html.j2
rename to app/templates/auth/register.html.j2
diff --git a/web/app/templates/auth/reset_password.html.j2 b/app/templates/auth/reset_password.html.j2
similarity index 100%
rename from web/app/templates/auth/reset_password.html.j2
rename to app/templates/auth/reset_password.html.j2
diff --git a/web/app/templates/auth/reset_password_request.html.j2 b/app/templates/auth/reset_password_request.html.j2
similarity index 100%
rename from web/app/templates/auth/reset_password_request.html.j2
rename to app/templates/auth/reset_password_request.html.j2
diff --git a/web/app/templates/auth/unconfirmed.html.j2 b/app/templates/auth/unconfirmed.html.j2
similarity index 100%
rename from web/app/templates/auth/unconfirmed.html.j2
rename to app/templates/auth/unconfirmed.html.j2
diff --git a/web/app/templates/base.html.j2 b/app/templates/base.html.j2
similarity index 100%
rename from web/app/templates/base.html.j2
rename to app/templates/base.html.j2
diff --git a/web/app/templates/corpora/_breadcrumbs.html.j2 b/app/templates/corpora/_breadcrumbs.html.j2
similarity index 100%
rename from web/app/templates/corpora/_breadcrumbs.html.j2
rename to app/templates/corpora/_breadcrumbs.html.j2
diff --git a/web/app/templates/corpora/add_corpus.html.j2 b/app/templates/corpora/add_corpus.html.j2
similarity index 100%
rename from web/app/templates/corpora/add_corpus.html.j2
rename to app/templates/corpora/add_corpus.html.j2
diff --git a/web/app/templates/corpora/add_corpus_file.html.j2 b/app/templates/corpora/add_corpus_file.html.j2
similarity index 100%
rename from web/app/templates/corpora/add_corpus_file.html.j2
rename to app/templates/corpora/add_corpus_file.html.j2
diff --git a/web/app/templates/corpora/analyse_corpus.html.j2 b/app/templates/corpora/analyse_corpus.html.j2
similarity index 100%
rename from web/app/templates/corpora/analyse_corpus.html.j2
rename to app/templates/corpora/analyse_corpus.html.j2
diff --git a/web/app/templates/corpora/corpus.html.j2 b/app/templates/corpora/corpus.html.j2
similarity index 100%
rename from web/app/templates/corpora/corpus.html.j2
rename to app/templates/corpora/corpus.html.j2
diff --git a/web/app/templates/corpora/corpus_file.html.j2 b/app/templates/corpora/corpus_file.html.j2
similarity index 100%
rename from web/app/templates/corpora/corpus_file.html.j2
rename to app/templates/corpora/corpus_file.html.j2
diff --git a/web/app/templates/corpora/import_corpus.html.j2 b/app/templates/corpora/import_corpus.html.j2
similarity index 100%
rename from web/app/templates/corpora/import_corpus.html.j2
rename to app/templates/corpora/import_corpus.html.j2
diff --git a/web/app/templates/corpora/interactions/analysis.html.j2 b/app/templates/corpora/interactions/analysis.html.j2
similarity index 100%
rename from web/app/templates/corpora/interactions/analysis.html.j2
rename to app/templates/corpora/interactions/analysis.html.j2
diff --git a/web/app/templates/corpora/interactions/cite.html.j2 b/app/templates/corpora/interactions/cite.html.j2
similarity index 100%
rename from web/app/templates/corpora/interactions/cite.html.j2
rename to app/templates/corpora/interactions/cite.html.j2
diff --git a/web/app/templates/corpora/interactions/create.html.j2 b/app/templates/corpora/interactions/create.html.j2
similarity index 100%
rename from web/app/templates/corpora/interactions/create.html.j2
rename to app/templates/corpora/interactions/create.html.j2
diff --git a/web/app/templates/corpora/interactions/display.html.j2 b/app/templates/corpora/interactions/display.html.j2
similarity index 100%
rename from web/app/templates/corpora/interactions/display.html.j2
rename to app/templates/corpora/interactions/display.html.j2
diff --git a/web/app/templates/corpora/interactions/export.html.j2 b/app/templates/corpora/interactions/export.html.j2
similarity index 100%
rename from web/app/templates/corpora/interactions/export.html.j2
rename to app/templates/corpora/interactions/export.html.j2
diff --git a/web/app/templates/corpora/interactions/infos.html.j2 b/app/templates/corpora/interactions/infos.html.j2
similarity index 100%
rename from web/app/templates/corpora/interactions/infos.html.j2
rename to app/templates/corpora/interactions/infos.html.j2
diff --git a/web/app/templates/corpora/interactions/scroll_to_top.html.j2 b/app/templates/corpora/interactions/scroll_to_top.html.j2
similarity index 100%
rename from web/app/templates/corpora/interactions/scroll_to_top.html.j2
rename to app/templates/corpora/interactions/scroll_to_top.html.j2
diff --git a/web/app/templates/corpora/query_results/_breadcrumbs.html.j2 b/app/templates/corpora/query_results/_breadcrumbs.html.j2
similarity index 100%
rename from web/app/templates/corpora/query_results/_breadcrumbs.html.j2
rename to app/templates/corpora/query_results/_breadcrumbs.html.j2
diff --git a/web/app/templates/corpora/query_results/add_query_result.html.j2 b/app/templates/corpora/query_results/add_query_result.html.j2
similarity index 100%
rename from web/app/templates/corpora/query_results/add_query_result.html.j2
rename to app/templates/corpora/query_results/add_query_result.html.j2
diff --git a/web/app/templates/corpora/query_results/inspect.html.j2 b/app/templates/corpora/query_results/inspect.html.j2
similarity index 100%
rename from web/app/templates/corpora/query_results/inspect.html.j2
rename to app/templates/corpora/query_results/inspect.html.j2
diff --git a/web/app/templates/corpora/query_results/query_result.html.j2 b/app/templates/corpora/query_results/query_result.html.j2
similarity index 100%
rename from web/app/templates/corpora/query_results/query_result.html.j2
rename to app/templates/corpora/query_results/query_result.html.j2
diff --git a/web/app/templates/errors/403.html.j2 b/app/templates/errors/403.html.j2
similarity index 100%
rename from web/app/templates/errors/403.html.j2
rename to app/templates/errors/403.html.j2
diff --git a/web/app/templates/errors/404.html.j2 b/app/templates/errors/404.html.j2
similarity index 100%
rename from web/app/templates/errors/404.html.j2
rename to app/templates/errors/404.html.j2
diff --git a/web/app/templates/errors/413.html.j2 b/app/templates/errors/413.html.j2
similarity index 100%
rename from web/app/templates/errors/413.html.j2
rename to app/templates/errors/413.html.j2
diff --git a/web/app/templates/errors/500.html.j2 b/app/templates/errors/500.html.j2
similarity index 100%
rename from web/app/templates/errors/500.html.j2
rename to app/templates/errors/500.html.j2
diff --git a/web/app/templates/jobs/_breadcrumbs.html.j2 b/app/templates/jobs/_breadcrumbs.html.j2
similarity index 100%
rename from web/app/templates/jobs/_breadcrumbs.html.j2
rename to app/templates/jobs/_breadcrumbs.html.j2
diff --git a/web/app/templates/jobs/job.html.j2 b/app/templates/jobs/job.html.j2
similarity index 100%
rename from web/app/templates/jobs/job.html.j2
rename to app/templates/jobs/job.html.j2
diff --git a/web/app/templates/main/_breadcrumbs.html.j2 b/app/templates/main/_breadcrumbs.html.j2
similarity index 100%
rename from web/app/templates/main/_breadcrumbs.html.j2
rename to app/templates/main/_breadcrumbs.html.j2
diff --git a/web/app/templates/main/about_and_faq.html.j2 b/app/templates/main/about_and_faq.html.j2
similarity index 100%
rename from web/app/templates/main/about_and_faq.html.j2
rename to app/templates/main/about_and_faq.html.j2
diff --git a/web/app/templates/main/dashboard.html.j2 b/app/templates/main/dashboard.html.j2
similarity index 100%
rename from web/app/templates/main/dashboard.html.j2
rename to app/templates/main/dashboard.html.j2
diff --git a/web/app/templates/main/index.html.j2 b/app/templates/main/index.html.j2
similarity index 100%
rename from web/app/templates/main/index.html.j2
rename to app/templates/main/index.html.j2
diff --git a/web/app/templates/main/news.html.j2 b/app/templates/main/news.html.j2
similarity index 100%
rename from web/app/templates/main/news.html.j2
rename to app/templates/main/news.html.j2
diff --git a/web/app/templates/main/privacy_policy.html.j2 b/app/templates/main/privacy_policy.html.j2
similarity index 100%
rename from web/app/templates/main/privacy_policy.html.j2
rename to app/templates/main/privacy_policy.html.j2
diff --git a/web/app/templates/main/terms_of_use.html.j2 b/app/templates/main/terms_of_use.html.j2
similarity index 100%
rename from web/app/templates/main/terms_of_use.html.j2
rename to app/templates/main/terms_of_use.html.j2
diff --git a/web/app/templates/materialize/base.html.j2 b/app/templates/materialize/base.html.j2
similarity index 100%
rename from web/app/templates/materialize/base.html.j2
rename to app/templates/materialize/base.html.j2
diff --git a/web/app/templates/materialize/wtf.html.j2 b/app/templates/materialize/wtf.html.j2
similarity index 100%
rename from web/app/templates/materialize/wtf.html.j2
rename to app/templates/materialize/wtf.html.j2
diff --git a/web/app/templates/modals/analysis_init.html.j2 b/app/templates/modals/analysis_init.html.j2
similarity index 100%
rename from web/app/templates/modals/analysis_init.html.j2
rename to app/templates/modals/analysis_init.html.j2
diff --git a/web/app/templates/modals/context_modal.html.j2 b/app/templates/modals/context_modal.html.j2
similarity index 100%
rename from web/app/templates/modals/context_modal.html.j2
rename to app/templates/modals/context_modal.html.j2
diff --git a/web/app/templates/modals/export_query_results.html.j2 b/app/templates/modals/export_query_results.html.j2
similarity index 100%
rename from web/app/templates/modals/export_query_results.html.j2
rename to app/templates/modals/export_query_results.html.j2
diff --git a/web/app/templates/modals/query_builder.html.j2 b/app/templates/modals/query_builder.html.j2
similarity index 100%
rename from web/app/templates/modals/query_builder.html.j2
rename to app/templates/modals/query_builder.html.j2
diff --git a/web/app/templates/modals/show_corpus_files.html.j2 b/app/templates/modals/show_corpus_files.html.j2
similarity index 100%
rename from web/app/templates/modals/show_corpus_files.html.j2
rename to app/templates/modals/show_corpus_files.html.j2
diff --git a/web/app/templates/modals/show_metadata.html.j2 b/app/templates/modals/show_metadata.html.j2
similarity index 100%
rename from web/app/templates/modals/show_metadata.html.j2
rename to app/templates/modals/show_metadata.html.j2
diff --git a/web/app/templates/modals/show_text_details.html.j2 b/app/templates/modals/show_text_details.html.j2
similarity index 100%
rename from web/app/templates/modals/show_text_details.html.j2
rename to app/templates/modals/show_text_details.html.j2
diff --git a/web/app/templates/services/_breadcrumbs.html.j2 b/app/templates/services/_breadcrumbs.html.j2
similarity index 100%
rename from web/app/templates/services/_breadcrumbs.html.j2
rename to app/templates/services/_breadcrumbs.html.j2
diff --git a/web/app/templates/services/corpus_analysis.html.j2 b/app/templates/services/corpus_analysis.html.j2
similarity index 100%
rename from web/app/templates/services/corpus_analysis.html.j2
rename to app/templates/services/corpus_analysis.html.j2
diff --git a/web/app/templates/services/file_setup.html.j2 b/app/templates/services/file_setup.html.j2
similarity index 100%
rename from web/app/templates/services/file_setup.html.j2
rename to app/templates/services/file_setup.html.j2
diff --git a/web/app/templates/services/nlp.html.j2 b/app/templates/services/nlp.html.j2
similarity index 100%
rename from web/app/templates/services/nlp.html.j2
rename to app/templates/services/nlp.html.j2
diff --git a/web/app/templates/services/ocr.html.j2 b/app/templates/services/ocr.html.j2
similarity index 100%
rename from web/app/templates/services/ocr.html.j2
rename to app/templates/services/ocr.html.j2
diff --git a/web/app/templates/settings/_breadcrumbs.html.j2 b/app/templates/settings/_breadcrumbs.html.j2
similarity index 100%
rename from web/app/templates/settings/_breadcrumbs.html.j2
rename to app/templates/settings/_breadcrumbs.html.j2
diff --git a/web/app/templates/settings/_menu.html.j2 b/app/templates/settings/_menu.html.j2
similarity index 100%
rename from web/app/templates/settings/_menu.html.j2
rename to app/templates/settings/_menu.html.j2
diff --git a/web/app/templates/settings/change_password.html.j2 b/app/templates/settings/change_password.html.j2
similarity index 100%
rename from web/app/templates/settings/change_password.html.j2
rename to app/templates/settings/change_password.html.j2
diff --git a/web/app/templates/settings/edit_general_settings.html.j2 b/app/templates/settings/edit_general_settings.html.j2
similarity index 100%
rename from web/app/templates/settings/edit_general_settings.html.j2
rename to app/templates/settings/edit_general_settings.html.j2
diff --git a/web/app/templates/settings/edit_notification_settings.html.j2 b/app/templates/settings/edit_notification_settings.html.j2
similarity index 100%
rename from web/app/templates/settings/edit_notification_settings.html.j2
rename to app/templates/settings/edit_notification_settings.html.j2
diff --git a/web/app/templates/tables/query_results.html.j2 b/app/templates/tables/query_results.html.j2
similarity index 100%
rename from web/app/templates/tables/query_results.html.j2
rename to app/templates/tables/query_results.html.j2
diff --git a/web/app/templates/tasks/email/notification.html.j2 b/app/templates/tasks/email/notification.html.j2
similarity index 100%
rename from web/app/templates/tasks/email/notification.html.j2
rename to app/templates/tasks/email/notification.html.j2
diff --git a/web/app/templates/tasks/email/notification.txt.j2 b/app/templates/tasks/email/notification.txt.j2
similarity index 100%
rename from web/app/templates/tasks/email/notification.txt.j2
rename to app/templates/tasks/email/notification.txt.j2
diff --git a/web/boot.sh b/boot.sh
similarity index 100%
rename from web/boot.sh
rename to boot.sh
diff --git a/web/config.py b/config.py
similarity index 100%
rename from web/config.py
rename to config.py
diff --git a/docker-compose.development.yml b/docker-compose.development.yml
index d1ac771983d202021a57bb8e99cfcf1bea76f12f..564eae38bdb4a5434981bceff8a6451dddd419ab 100644
--- a/docker-compose.development.yml
+++ b/docker-compose.development.yml
@@ -6,10 +6,10 @@ services:
       - "5000:5000"
     volumes:
       # Mount code as volumes
-      - "./web/app:/home/nopaque/app"
-      - "./web/boot.sh:/home/nopaque/boot.sh"
-      - "./web/config.py:/home/nopaque/config.py"
-      - "./web/migrations:/home/nopaque/migrations"
-      - "./web/nopaque.py:/home/nopaque/nopaque.py"
-      - "./web/requirements.txt:/home/nopaque/requirements.txt"
-      - "./web/tests:/home/nopaque/tests"
+      - "./app:/home/nopaque/app"
+      - "./boot.sh:/home/nopaque/boot.sh"
+      - "./config.py:/home/nopaque/config.py"
+      - "./migrations:/home/nopaque/migrations"
+      - "./nopaque.py:/home/nopaque/nopaque.py"
+      - "./requirements.txt:/home/nopaque/requirements.txt"
+      - "./tests:/home/nopaque/tests"
diff --git a/docker-compose.yml b/docker-compose.yml
index 388deb8faeaa904008caa85992fe5c55ffb93504..e5c1ecefa2b21bcbf1fb9799f150747da84d74f5 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -6,13 +6,13 @@ services:
     image: postgres:11
     restart: unless-stopped
     volumes:
-      - "${HOST_DB_DIR:-./db}:/var/lib/postgresql/data"
+      - "${HOST_DB_DIR:-./data/db}:/var/lib/postgresql/data"
 
   mq:
     image: redis:6
     restart: unless-stopped
     volumes:
-      - "${HOST_MQ_DIR:-./mq}:/data"
+      - "${HOST_MQ_DIR:-./data/mq}:/data"
 
   nopaque:
     build:
@@ -20,7 +20,7 @@ services:
         DOCKER_GID: ${HOST_DOCKER_GID}
         GID: ${HOST_GID}
         UID: ${HOST_UID}
-      context: ./web
+      context: .
     depends_on:
       - db
       - mq
diff --git a/web/migrations/README b/migrations/README
similarity index 100%
rename from web/migrations/README
rename to migrations/README
diff --git a/web/migrations/alembic.ini b/migrations/alembic.ini
similarity index 100%
rename from web/migrations/alembic.ini
rename to migrations/alembic.ini
diff --git a/web/migrations/env.py b/migrations/env.py
similarity index 100%
rename from web/migrations/env.py
rename to migrations/env.py
diff --git a/web/migrations/script.py.mako b/migrations/script.py.mako
similarity index 100%
rename from web/migrations/script.py.mako
rename to migrations/script.py.mako
diff --git a/web/migrations/versions/099037c4aa06_.py b/migrations/versions/099037c4aa06_.py
similarity index 100%
rename from web/migrations/versions/099037c4aa06_.py
rename to migrations/versions/099037c4aa06_.py
diff --git a/web/migrations/versions/0aa38a7973c5_.py b/migrations/versions/0aa38a7973c5_.py
similarity index 100%
rename from web/migrations/versions/0aa38a7973c5_.py
rename to migrations/versions/0aa38a7973c5_.py
diff --git a/web/migrations/versions/0d7aed934679_.py b/migrations/versions/0d7aed934679_.py
similarity index 100%
rename from web/migrations/versions/0d7aed934679_.py
rename to migrations/versions/0d7aed934679_.py
diff --git a/web/migrations/versions/10a92d8f4616_.py b/migrations/versions/10a92d8f4616_.py
similarity index 100%
rename from web/migrations/versions/10a92d8f4616_.py
rename to migrations/versions/10a92d8f4616_.py
diff --git a/web/migrations/versions/1210adfe1e34_.py b/migrations/versions/1210adfe1e34_.py
similarity index 100%
rename from web/migrations/versions/1210adfe1e34_.py
rename to migrations/versions/1210adfe1e34_.py
diff --git a/web/migrations/versions/318074622d14_.py b/migrations/versions/318074622d14_.py
similarity index 100%
rename from web/migrations/versions/318074622d14_.py
rename to migrations/versions/318074622d14_.py
diff --git a/web/migrations/versions/33ec4d09b4ca_.py b/migrations/versions/33ec4d09b4ca_.py
similarity index 100%
rename from web/migrations/versions/33ec4d09b4ca_.py
rename to migrations/versions/33ec4d09b4ca_.py
diff --git a/web/migrations/versions/389bcf564726_.py b/migrations/versions/389bcf564726_.py
similarity index 100%
rename from web/migrations/versions/389bcf564726_.py
rename to migrations/versions/389bcf564726_.py
diff --git a/web/migrations/versions/3d9a20b8b26c_.py b/migrations/versions/3d9a20b8b26c_.py
similarity index 100%
rename from web/migrations/versions/3d9a20b8b26c_.py
rename to migrations/versions/3d9a20b8b26c_.py
diff --git a/web/migrations/versions/421ba4373e50_.py b/migrations/versions/421ba4373e50_.py
similarity index 100%
rename from web/migrations/versions/421ba4373e50_.py
rename to migrations/versions/421ba4373e50_.py
diff --git a/web/migrations/versions/4638e6509e13_.py b/migrations/versions/4638e6509e13_.py
similarity index 100%
rename from web/migrations/versions/4638e6509e13_.py
rename to migrations/versions/4638e6509e13_.py
diff --git a/web/migrations/versions/471aa04c1a92_.py b/migrations/versions/471aa04c1a92_.py
similarity index 100%
rename from web/migrations/versions/471aa04c1a92_.py
rename to migrations/versions/471aa04c1a92_.py
diff --git a/web/migrations/versions/4886241e0f5d_.py b/migrations/versions/4886241e0f5d_.py
similarity index 100%
rename from web/migrations/versions/4886241e0f5d_.py
rename to migrations/versions/4886241e0f5d_.py
diff --git a/web/migrations/versions/49a42c69e523_.py b/migrations/versions/49a42c69e523_.py
similarity index 100%
rename from web/migrations/versions/49a42c69e523_.py
rename to migrations/versions/49a42c69e523_.py
diff --git a/web/migrations/versions/4cf5e5606a83_.py b/migrations/versions/4cf5e5606a83_.py
similarity index 100%
rename from web/migrations/versions/4cf5e5606a83_.py
rename to migrations/versions/4cf5e5606a83_.py
diff --git a/web/migrations/versions/55d2b1a82ba9_.py b/migrations/versions/55d2b1a82ba9_.py
similarity index 100%
rename from web/migrations/versions/55d2b1a82ba9_.py
rename to migrations/versions/55d2b1a82ba9_.py
diff --git a/web/migrations/versions/5ba6786a847e_.py b/migrations/versions/5ba6786a847e_.py
similarity index 100%
rename from web/migrations/versions/5ba6786a847e_.py
rename to migrations/versions/5ba6786a847e_.py
diff --git a/web/migrations/versions/62233e0cb2c7_.py b/migrations/versions/62233e0cb2c7_.py
similarity index 100%
rename from web/migrations/versions/62233e0cb2c7_.py
rename to migrations/versions/62233e0cb2c7_.py
diff --git a/web/migrations/versions/6227310c2112_.py b/migrations/versions/6227310c2112_.py
similarity index 100%
rename from web/migrations/versions/6227310c2112_.py
rename to migrations/versions/6227310c2112_.py
diff --git a/web/migrations/versions/66253783654f_.py b/migrations/versions/66253783654f_.py
similarity index 100%
rename from web/migrations/versions/66253783654f_.py
rename to migrations/versions/66253783654f_.py
diff --git a/web/migrations/versions/68772b6560c3_.py b/migrations/versions/68772b6560c3_.py
similarity index 100%
rename from web/migrations/versions/68772b6560c3_.py
rename to migrations/versions/68772b6560c3_.py
diff --git a/web/migrations/versions/6c2227f1cc77_.py b/migrations/versions/6c2227f1cc77_.py
similarity index 100%
rename from web/migrations/versions/6c2227f1cc77_.py
rename to migrations/versions/6c2227f1cc77_.py
diff --git a/web/migrations/versions/7378391345fa_.py b/migrations/versions/7378391345fa_.py
similarity index 100%
rename from web/migrations/versions/7378391345fa_.py
rename to migrations/versions/7378391345fa_.py
diff --git a/web/migrations/versions/776761fb7466_.py b/migrations/versions/776761fb7466_.py
similarity index 100%
rename from web/migrations/versions/776761fb7466_.py
rename to migrations/versions/776761fb7466_.py
diff --git a/web/migrations/versions/790ce9512e75_.py b/migrations/versions/790ce9512e75_.py
similarity index 100%
rename from web/migrations/versions/790ce9512e75_.py
rename to migrations/versions/790ce9512e75_.py
diff --git a/web/migrations/versions/8b2e0d43384a_.py b/migrations/versions/8b2e0d43384a_.py
similarity index 100%
rename from web/migrations/versions/8b2e0d43384a_.py
rename to migrations/versions/8b2e0d43384a_.py
diff --git a/web/migrations/versions/9d21b228d353_.py b/migrations/versions/9d21b228d353_.py
similarity index 100%
rename from web/migrations/versions/9d21b228d353_.py
rename to migrations/versions/9d21b228d353_.py
diff --git a/web/migrations/versions/abf60427ff84_.py b/migrations/versions/abf60427ff84_.py
similarity index 100%
rename from web/migrations/versions/abf60427ff84_.py
rename to migrations/versions/abf60427ff84_.py
diff --git a/web/migrations/versions/b15366b25bea_.py b/migrations/versions/b15366b25bea_.py
similarity index 100%
rename from web/migrations/versions/b15366b25bea_.py
rename to migrations/versions/b15366b25bea_.py
diff --git a/web/migrations/versions/befe5326787e_.py b/migrations/versions/befe5326787e_.py
similarity index 100%
rename from web/migrations/versions/befe5326787e_.py
rename to migrations/versions/befe5326787e_.py
diff --git a/web/migrations/versions/c3827cddea6e_.py b/migrations/versions/c3827cddea6e_.py
similarity index 100%
rename from web/migrations/versions/c3827cddea6e_.py
rename to migrations/versions/c3827cddea6e_.py
diff --git a/web/migrations/versions/da9fd175af8c_.py b/migrations/versions/da9fd175af8c_.py
similarity index 100%
rename from web/migrations/versions/da9fd175af8c_.py
rename to migrations/versions/da9fd175af8c_.py
diff --git a/web/migrations/versions/ded5a37f8a7b_.py b/migrations/versions/ded5a37f8a7b_.py
similarity index 100%
rename from web/migrations/versions/ded5a37f8a7b_.py
rename to migrations/versions/ded5a37f8a7b_.py
diff --git a/web/migrations/versions/e256f5cac75d_.py b/migrations/versions/e256f5cac75d_.py
similarity index 100%
rename from web/migrations/versions/e256f5cac75d_.py
rename to migrations/versions/e256f5cac75d_.py
diff --git a/web/migrations/versions/ecaf75fece7b_.py b/migrations/versions/ecaf75fece7b_.py
similarity index 100%
rename from web/migrations/versions/ecaf75fece7b_.py
rename to migrations/versions/ecaf75fece7b_.py
diff --git a/web/nopaque-daemon.sh b/nopaque-daemon.sh
similarity index 100%
rename from web/nopaque-daemon.sh
rename to nopaque-daemon.sh
diff --git a/web/nopaque.py b/nopaque.py
similarity index 100%
rename from web/nopaque.py
rename to nopaque.py
diff --git a/web/requirements.txt b/requirements.txt
similarity index 100%
rename from web/requirements.txt
rename to requirements.txt
diff --git a/web/tests/__init__.py b/tests/__init__.py
similarity index 100%
rename from web/tests/__init__.py
rename to tests/__init__.py
diff --git a/web/tests/test_basics.py b/tests/test_basics.py
similarity index 100%
rename from web/tests/test_basics.py
rename to tests/test_basics.py
diff --git a/web/tests/test_client.py b/tests/test_client.py
similarity index 100%
rename from web/tests/test_client.py
rename to tests/test_client.py
diff --git a/web/tests/test_user_model.py b/tests/test_user_model.py
similarity index 100%
rename from web/tests/test_user_model.py
rename to tests/test_user_model.py
diff --git a/web/.dockerignore b/web/.dockerignore
deleted file mode 100644
index 2180300081e581766c2cd544c23bf2c15fe0b14e..0000000000000000000000000000000000000000
--- a/web/.dockerignore
+++ /dev/null
@@ -1,6 +0,0 @@
-# Docker related files
-Dockerfile
-.dockerignore
-
-# Packages
-__pycache__
diff --git a/web/.flaskenv b/web/.flaskenv
deleted file mode 100644
index 1fd672d31286c14e0b8d618a50480983b52487f5..0000000000000000000000000000000000000000
--- a/web/.flaskenv
+++ /dev/null
@@ -1 +0,0 @@
-FLASK_APP=nopaque.py