diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 5dc27dd..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-target/
-indent.log
diff --git a/Mafia-the-Game.pdf b/Mafia-the-Game.pdf
deleted file mode 100644
index 499aa2b..0000000
Binary files a/Mafia-the-Game.pdf and /dev/null differ
diff --git a/Mafia-the-Game.tex b/Mafia-the-Game.tex
deleted file mode 100644
index d18c537..0000000
--- a/Mafia-the-Game.tex
+++ /dev/null
@@ -1,136 +0,0 @@
-\documentclass[12pt]{report}
-\usepackage{titlesec}
-\usepackage[utf8]{inputenc}
-\usepackage[latvian]{babel}
-\usepackage{enumitem}
-\usepackage{fancyhdr}
-\usepackage{gensymb} % grādu simbols
-\usepackage{geometry}
-\usepackage{graphicx}
-\usepackage{hyperref}
-\usepackage{array}
-\usepackage{indentfirst}
-\usepackage{multicol}
-\usepackage{multirow}
-\usepackage{ragged2e}
-\usepackage{secdot}
-\usepackage{tabularx}
-\usepackage{tcolorbox}
-\usepackage{tikz}
-\usepackage{listings}
-\usepackage{tocloft}
-\usepackage{caption}
-\usepackage{fmtcount}
-\usepackage{ltablex}
-\usepackage{chngcntr}
-\usepackage{longtable}
-\usepackage{ifthen}
-\usepackage{needspace}
-\usepackage[framemethod=TikZ]{mdframed}
-% uncomment and comment the line above if compile time is too long for preview,
-% but it won't compile the continuation overlay in the boxes correctly (should
-% be commented for end compilation)
-% \usepackage{mdframed}
-\usetikzlibrary{positioning}
-
-\hypersetup{
- colorlinks=true,
- linkcolor=black,
- urlcolor=black
-}
-
-\urlstyle{rm}
-
-
-\titlespacing*{\section}{0pt}{2em}{2em}
-\titlespacing*{\subsection}{0pt}{2em}{2em}
-\titlespacing*{\subsubsection}{0pt}{2em}{2em}
-\titlespacing*{\paragraph}{0pt}{2em}{2em}
-\titlespacing*{\subparagraph}{0pt}{2em}{2em}
-
-
-
-% Configure the chapter / paragraph numbering (it only works this way when I compile)
-\renewcommand{\thechapter}{\arabic{chapter}.}
-\renewcommand{\thesection}{\arabic{section}.}
-\renewcommand{\thesubsection}{\thesection\arabic{subsection}.}
-\renewcommand{\thesubsubsection}{\thesubsection\arabic{subsubsection}.}
-\renewcommand{\theparagraph}{\thesubsubsection\arabic{paragraph}.}
-\renewcommand{\thesubparagraph}{\theparagraph\arabic{subparagraph}.}
-
-
-\titleformat{\section}{\large\bfseries\centering\vfill\eject\MakeUppercase}{\thesection}{1em}{} % section formatting
-\titleformat{\subsection}{\bfseries}{\thesubsection}{1em}{} % subsection formatting
-\titleformat{\subsubsection}{\bfseries}{\thesubsubsection}{1em}{} % subsubsection formatting
-\titleformat{\paragraph}{\bfseries}{\theparagraph}{1em}{} % paragraph formatting
-\titleformat{\subparagraph}{\bfseries}{\thesubparagraph}{1em}{} % subparagraph formatting
-
-
-% Modify caption style
-\DeclareCaptionFormat{format}{\textit{#1} \textbf{#3}}
-\captionsetup{format=format}
-
-\DeclareCaptionLabelFormat{image}{#2 att.}
-\captionsetup[figure]{labelformat=image, labelsep=period}
-
-\counterwithin{figure}{section} % Reset figure counter within each section
-\renewcommand{\thefigure}{\thesection\arabic{figure}.} % Redefine figure numbering
-\counterwithin{table}{section} % Reset table counter within each section
-\renewcommand{\thetable}{\thesection\arabic{table}.} % Redefine table numbering
-
-\captionsetup[table]{justification=raggedleft,singlelinecheck=off} % Align table caption text to the left
-\captionsetup[figure]{justification=raggedright,singlelinecheck=off} % Align figure caption text to the right
-
-
-
-\geometry{a4paper, left=30mm, right=20mm, top=20mm, bottom=20mm}
-
-\pagestyle{fancy}
-\fancyhead{}
-\fancyfoot{}
-\fancyfoot[C]{\thepage}
-\renewcommand{\headrulewidth}{0pt}
-\linespread{1.5}
-\setlength{\parindent}{1cm}
-\setlength{\parskip}{0pt}
-
-\setcounter{secnumdepth}{5} % Numering for subsubsections
-\setcounter{tocdepth}{3} % Add subsubsections in ToC
-
-
-% ToC config
-% TODO: section in uppercase
-\renewcommand{\cftsecfont}{\MakeUppercase}
-\renewcommand{\cfttoctitlefont}{\hfill\large\bfseries\MakeUppercase}
-\renewcommand{\cftaftertoctitle}{\hfill}
-\cftsetindents{section}{0.5cm}{0.5cm}
-\cftsetindents{subsection}{1cm}{1cm}
-\cftsetindents{subsubsection}{1.5cm}{1.5cm}
-\renewcommand{\contentsname}{Saturs}
-% \addto\captionslatvian{
-% \renewcommand{\contentsname}{Satura rādītājs}
-% }
-
-
-
-\newcounter{rownum}
-\renewcommand{\therownum}{\padzeroes[2]{\decimal{rownum}}}
-
-\keepXColumns
-
-\input{./src/utils/index.tex}
-
-
-\begin{document}
-\input{./src/title-page.tex}
-\input{./src/abstract.tex}
-\pagebreak
-\tableofcontents
-\input{./src/introduction/index.tex}
-\input{./src/legends.tex}
-\input{./src/description/index.tex}
-\input{./src/requirements/index.tex}
-\input{./src/design/index.tex}
-% \input{./src/test.tex}
-
-\end{document}
diff --git a/README.md b/README.md
deleted file mode 100644
index b11d4a9..0000000
--- a/README.md
+++ /dev/null
@@ -1,18 +0,0 @@
-# Mafia the Game Description
-
-
-
-- [PDF](#pdf)
-- [Compilation](#compilation)
-
-
-
-## [PDF](./Mafia-the-Game.pdf)
-
-## Compilation
-
-It is recommended to use `xelatex`.
-```sh
-mkdir target
-xelatex -shell-escape -interaction=nonstopmode -output-directory=target Mafia-the-Game.tex
-```
diff --git a/src/abstract.tex b/abstract.typ
similarity index 63%
rename from src/abstract.tex
rename to abstract.typ
index 9312b3e..f2c578c 100644
--- a/src/abstract.tex
+++ b/abstract.typ
@@ -1,38 +1,63 @@
-\section*{Anotācija}
-\setcounter{page}{2}
-Sociālā lomu spēle ``Mafija'' ir plaši pazīstama. Tā ir pieejama vairākos
-paveidos un formātos, kā arī piedāvā neierobežotu skaitu konfigurāciju un lomu.
+#import "layout.typ": indent-par
+#pagebreak()
+#heading(
+ level: 1,
+ outlined: false,
+ numbering: none,
+ "Anotācija"
+)
+
+
+#indent-par([
+Sociālā lomu spēle "Mafija" ir plaši pazīstama. Tā ir pieejama vairākos
+paveidos un formātos, kā arī piedāvā neierobežotu konfigurāciju un lomu skaitu.
Spēlētāju ērtībai tiek nodrošināts tīmekļa vietnes formāts, kas ietver
norādījumus, informējot lietotāju par pieejamajām iespējām, un skaidrojumus,
-aprakstot spēles elementus un saskarni, ar mērķi vienkāršot tās spēlēšanu.
+aprakstot spēles elementus un saskarni, ar mērķi atvieglot tās lietošanu.
Tirgus izpēte apliecina, ka ir pieejami vairāki, nepilnvērtīgi risinājumi.
-Programmatūras prasību specifikācija apraksta sistēmas pamatprasības ar
+Programmatūras prasību specifikācija apraksta sistēmas pamatprasības un
papildus funkcionalitāti, tostarp lomu klāsta papildināšanu, spēles
-konfigurāciju izveidi, kā arī priviliģētu lietotāju (maksas lietotāju),
+konfigurāciju izveidi, kā arī priviliģētu lietotāju (maksas lietotāju) izveidošanu,
pielietojot abonementa paveida maksājumu sistēmu.
+])
-\textbf{Atslēgvārdi:}
+#par(first-line-indent: 0cm, [*Atslēgvārdi:*])
Mafijas spēle, sistēmas prasības, specifikācijas dokuments, programmatūras
uzlabošana, lomu spēle, vienkāršota spēlēšana, organizatoriski risinājumi,
programmatūras prasību specifikācija, lietotāju veidots saturs, abonements,
maksas lietotājs, maksājumu apstrādātāja lietojumprogrammas saskarni (API).
-\section*{Abstract}
-The social role-playing game ``Mafia'' is widely known. It is available in
+#text(
+ hyphenate: auto,
+ lang: "en",
+ [
+
+#pagebreak()
+#heading(
+ level: 1,
+ outlined: false,
+ numbering: none,
+ "Abstract"
+)
+
+#indent-par([
+The social role-playing game "Mafia" is widely known. It is available in
various versions and formats, offering an unlimited number of configurations
and roles. For the convenience of players, the game is made as a web
application that includes instructions, informing the user about available
-options, and explanations describing the game's elements and interface, to make
-it simpler. Market research confirms that several mediocre solutions are
+ptions, and explanations describing the game's elements and interface, to improve user experience. Market research confirms that several mediocre solutions are
available. The software requirements specification describes the system's basic
requirements with additional functionality, including expanding the range of
roles, creating game configurations, and a privileged user (premium user) using
a subscription-based payment system.
+])
-\textbf{Keywords:}
+
+#par(first-line-indent: 0cm, [*Keywords:*])
Mafia game, system requirements, specification document, software improvement,
role-playing, simplified gameplay, organizational solutions, software
requirements specification, user-generated content, subscription, premium user,
payment processor application program interface (API).
+])
\ No newline at end of file
diff --git a/fonts/cmu/cmunbbx.otf b/fonts/cmu/cmunbbx.otf
new file mode 100644
index 0000000..4becf1b
Binary files /dev/null and b/fonts/cmu/cmunbbx.otf differ
diff --git a/fonts/cmu/cmunbi.otf b/fonts/cmu/cmunbi.otf
new file mode 100644
index 0000000..5cd8a12
Binary files /dev/null and b/fonts/cmu/cmunbi.otf differ
diff --git a/fonts/cmu/cmunbl.otf b/fonts/cmu/cmunbl.otf
new file mode 100644
index 0000000..e594b5e
Binary files /dev/null and b/fonts/cmu/cmunbl.otf differ
diff --git a/fonts/cmu/cmunbmo.otf b/fonts/cmu/cmunbmo.otf
new file mode 100644
index 0000000..4bf308f
Binary files /dev/null and b/fonts/cmu/cmunbmo.otf differ
diff --git a/fonts/cmu/cmunbmr.otf b/fonts/cmu/cmunbmr.otf
new file mode 100644
index 0000000..886bff1
Binary files /dev/null and b/fonts/cmu/cmunbmr.otf differ
diff --git a/fonts/cmu/cmunbso.otf b/fonts/cmu/cmunbso.otf
new file mode 100644
index 0000000..f1013a1
Binary files /dev/null and b/fonts/cmu/cmunbso.otf differ
diff --git a/fonts/cmu/cmunbsr.otf b/fonts/cmu/cmunbsr.otf
new file mode 100644
index 0000000..a9fd5c4
Binary files /dev/null and b/fonts/cmu/cmunbsr.otf differ
diff --git a/fonts/cmu/cmunbtl.otf b/fonts/cmu/cmunbtl.otf
new file mode 100644
index 0000000..d6d2784
Binary files /dev/null and b/fonts/cmu/cmunbtl.otf differ
diff --git a/fonts/cmu/cmunbto.otf b/fonts/cmu/cmunbto.otf
new file mode 100644
index 0000000..d726505
Binary files /dev/null and b/fonts/cmu/cmunbto.otf differ
diff --git a/fonts/cmu/cmunbx.otf b/fonts/cmu/cmunbx.otf
new file mode 100644
index 0000000..fc32d6d
Binary files /dev/null and b/fonts/cmu/cmunbx.otf differ
diff --git a/fonts/cmu/cmunbxo.otf b/fonts/cmu/cmunbxo.otf
new file mode 100644
index 0000000..d6c902b
Binary files /dev/null and b/fonts/cmu/cmunbxo.otf differ
diff --git a/fonts/cmu/cmunci.otf b/fonts/cmu/cmunci.otf
new file mode 100644
index 0000000..99e8e03
Binary files /dev/null and b/fonts/cmu/cmunci.otf differ
diff --git a/fonts/cmu/cmunit.otf b/fonts/cmu/cmunit.otf
new file mode 100644
index 0000000..daba644
Binary files /dev/null and b/fonts/cmu/cmunit.otf differ
diff --git a/fonts/cmu/cmunobi.otf b/fonts/cmu/cmunobi.otf
new file mode 100644
index 0000000..31fc8e3
Binary files /dev/null and b/fonts/cmu/cmunobi.otf differ
diff --git a/fonts/cmu/cmunobx.otf b/fonts/cmu/cmunobx.otf
new file mode 100644
index 0000000..244bac9
Binary files /dev/null and b/fonts/cmu/cmunobx.otf differ
diff --git a/fonts/cmu/cmunorm.otf b/fonts/cmu/cmunorm.otf
new file mode 100644
index 0000000..d7310da
Binary files /dev/null and b/fonts/cmu/cmunorm.otf differ
diff --git a/fonts/cmu/cmunoti.otf b/fonts/cmu/cmunoti.otf
new file mode 100644
index 0000000..bc43e49
Binary files /dev/null and b/fonts/cmu/cmunoti.otf differ
diff --git a/fonts/cmu/cmunrb.otf b/fonts/cmu/cmunrb.otf
new file mode 100644
index 0000000..dda7ceb
Binary files /dev/null and b/fonts/cmu/cmunrb.otf differ
diff --git a/fonts/cmu/cmunrm.otf b/fonts/cmu/cmunrm.otf
new file mode 100644
index 0000000..b449df0
Binary files /dev/null and b/fonts/cmu/cmunrm.otf differ
diff --git a/fonts/cmu/cmunsi.otf b/fonts/cmu/cmunsi.otf
new file mode 100644
index 0000000..3705fc6
Binary files /dev/null and b/fonts/cmu/cmunsi.otf differ
diff --git a/fonts/cmu/cmunsl.otf b/fonts/cmu/cmunsl.otf
new file mode 100644
index 0000000..05608b2
Binary files /dev/null and b/fonts/cmu/cmunsl.otf differ
diff --git a/fonts/cmu/cmunso.otf b/fonts/cmu/cmunso.otf
new file mode 100644
index 0000000..23fd4ad
Binary files /dev/null and b/fonts/cmu/cmunso.otf differ
diff --git a/fonts/cmu/cmunss.otf b/fonts/cmu/cmunss.otf
new file mode 100644
index 0000000..49fecee
Binary files /dev/null and b/fonts/cmu/cmunss.otf differ
diff --git a/fonts/cmu/cmunssdc.otf b/fonts/cmu/cmunssdc.otf
new file mode 100644
index 0000000..f7d33bc
Binary files /dev/null and b/fonts/cmu/cmunssdc.otf differ
diff --git a/fonts/cmu/cmunst.otf b/fonts/cmu/cmunst.otf
new file mode 100644
index 0000000..e56babe
Binary files /dev/null and b/fonts/cmu/cmunst.otf differ
diff --git a/fonts/cmu/cmunsx.otf b/fonts/cmu/cmunsx.otf
new file mode 100644
index 0000000..b1fc68e
Binary files /dev/null and b/fonts/cmu/cmunsx.otf differ
diff --git a/fonts/cmu/cmuntb.otf b/fonts/cmu/cmuntb.otf
new file mode 100644
index 0000000..d6772ca
Binary files /dev/null and b/fonts/cmu/cmuntb.otf differ
diff --git a/fonts/cmu/cmunti.otf b/fonts/cmu/cmunti.otf
new file mode 100644
index 0000000..5739e9d
Binary files /dev/null and b/fonts/cmu/cmunti.otf differ
diff --git a/fonts/cmu/cmuntt.otf b/fonts/cmu/cmuntt.otf
new file mode 100644
index 0000000..a564385
Binary files /dev/null and b/fonts/cmu/cmuntt.otf differ
diff --git a/fonts/cmu/cmuntx.otf b/fonts/cmu/cmuntx.otf
new file mode 100644
index 0000000..8fadd9a
Binary files /dev/null and b/fonts/cmu/cmuntx.otf differ
diff --git a/fonts/cmu/cmunui.otf b/fonts/cmu/cmunui.otf
new file mode 100644
index 0000000..d744777
Binary files /dev/null and b/fonts/cmu/cmunui.otf differ
diff --git a/fonts/cmu/cmunvi.otf b/fonts/cmu/cmunvi.otf
new file mode 100644
index 0000000..3403b51
Binary files /dev/null and b/fonts/cmu/cmunvi.otf differ
diff --git a/fonts/cmu/cmunvt.otf b/fonts/cmu/cmunvt.otf
new file mode 100644
index 0000000..a3cdd44
Binary files /dev/null and b/fonts/cmu/cmunvt.otf differ
diff --git a/img/EkrānskatuPlūsmasDiagramma.svg b/img/EkrānskatuPlūsmasDiagramma.svg
new file mode 100644
index 0000000..e7345d3
--- /dev/null
+++ b/img/EkrānskatuPlūsmasDiagramma.svg
@@ -0,0 +1,7854 @@
+
+
diff --git a/img/dpd0/0tāLīmeņaDPD.svg b/img/dpd0/0tāLīmeņaDPD.svg
new file mode 100644
index 0000000..9243a4c
--- /dev/null
+++ b/img/dpd0/0tāLīmeņaDPD.svg
@@ -0,0 +1,7050 @@
+
+
diff --git a/img/dpd1/1LīmeņaDPDN1.svg b/img/dpd1/1LīmeņaDPDN1.svg
new file mode 100644
index 0000000..03f271b
--- /dev/null
+++ b/img/dpd1/1LīmeņaDPDN1.svg
@@ -0,0 +1,7145 @@
+
+
diff --git a/img/dpd1/1LīmeņaDPDN2.svg b/img/dpd1/1LīmeņaDPDN2.svg
new file mode 100644
index 0000000..8d335ed
--- /dev/null
+++ b/img/dpd1/1LīmeņaDPDN2.svg
@@ -0,0 +1,8488 @@
+
+
diff --git a/img/dpd2/CenuModulis.svg b/img/dpd2/CenuModulis.svg
new file mode 100644
index 0000000..7bfb01a
--- /dev/null
+++ b/img/dpd2/CenuModulis.svg
@@ -0,0 +1,1963 @@
+
+
diff --git a/img/dpd2/LietotājuKontuModulis.svg b/img/dpd2/LietotājuKontuModulis.svg
new file mode 100644
index 0000000..9b5b36e
--- /dev/null
+++ b/img/dpd2/LietotājuKontuModulis.svg
@@ -0,0 +1,3850 @@
+
+
diff --git a/img/dpd2/MaksasAbonementaModulis.svg b/img/dpd2/MaksasAbonementaModulis.svg
new file mode 100644
index 0000000..7f64cb7
--- /dev/null
+++ b/img/dpd2/MaksasAbonementaModulis.svg
@@ -0,0 +1,4928 @@
+
+
diff --git a/img/dpd2/ReģistrācijasPieteikšanāsModulis.svg b/img/dpd2/ReģistrācijasPieteikšanāsModulis.svg
new file mode 100644
index 0000000..fdc4ca9
--- /dev/null
+++ b/img/dpd2/ReģistrācijasPieteikšanāsModulis.svg
@@ -0,0 +1,7171 @@
+
+
diff --git a/img/dpd2/SpēlesGaitasModulis.svg b/img/dpd2/SpēlesGaitasModulis.svg
new file mode 100644
index 0000000..dca0286
--- /dev/null
+++ b/img/dpd2/SpēlesGaitasModulis.svg
@@ -0,0 +1,4479 @@
+
+
diff --git a/img/dpd2/SpēlesIstabasModulis.svg b/img/dpd2/SpēlesIstabasModulis.svg
new file mode 100644
index 0000000..ae7f82d
--- /dev/null
+++ b/img/dpd2/SpēlesIstabasModulis.svg
@@ -0,0 +1,7553 @@
+
+
diff --git a/img/dpd2/SpēlesLomuModulis.svg b/img/dpd2/SpēlesLomuModulis.svg
new file mode 100644
index 0000000..713cee2
--- /dev/null
+++ b/img/dpd2/SpēlesLomuModulis.svg
@@ -0,0 +1,4662 @@
+
+
diff --git a/img/dpd2/SpēlesUzstādījumuModulis.svg b/img/dpd2/SpēlesUzstādījumuModulis.svg
new file mode 100644
index 0000000..f640888
--- /dev/null
+++ b/img/dpd2/SpēlesUzstādījumuModulis.svg
@@ -0,0 +1,5841 @@
+
+
diff --git a/img/dpd2/TerzēšanasModulis.svg b/img/dpd2/TerzēšanasModulis.svg
new file mode 100644
index 0000000..92ec473
--- /dev/null
+++ b/img/dpd2/TerzēšanasModulis.svg
@@ -0,0 +1,3639 @@
+
+
diff --git a/img/erd/FiziskaisERDModelis.png b/img/erd/FiziskaisERDModelis.png
new file mode 100644
index 0000000..8a4a295
Binary files /dev/null and b/img/erd/FiziskaisERDModelis.png differ
diff --git a/img/erd/KonceptualaisERModelis.svg b/img/erd/KonceptualaisERModelis.svg
new file mode 100644
index 0000000..5b9c582
--- /dev/null
+++ b/img/erd/KonceptualaisERModelis.svg
@@ -0,0 +1,9256 @@
+
+
diff --git a/img/erd/LogiskaisERDModelis.svg b/img/erd/LogiskaisERDModelis.svg
new file mode 100644
index 0000000..ece1e16
--- /dev/null
+++ b/img/erd/LogiskaisERDModelis.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/img/placeholder.jpg b/img/placeholder.jpg
new file mode 100644
index 0000000..9a74bb1
Binary files /dev/null and b/img/placeholder.jpg differ
diff --git a/img/ui/desktop/available-game-room-list.png b/img/ui/desktop/available-game-room-list.png
new file mode 100644
index 0000000..ae6b3e3
Binary files /dev/null and b/img/ui/desktop/available-game-room-list.png differ
diff --git a/img/ui/desktop/desktop-register.png b/img/ui/desktop/desktop-register.png
new file mode 100644
index 0000000..eb5ef4a
Binary files /dev/null and b/img/ui/desktop/desktop-register.png differ
diff --git a/img/ui/desktop/game-action.png b/img/ui/desktop/game-action.png
new file mode 100644
index 0000000..809c39b
Binary files /dev/null and b/img/ui/desktop/game-action.png differ
diff --git a/img/ui/desktop/game-event-overview.png b/img/ui/desktop/game-event-overview.png
new file mode 100644
index 0000000..0d821f6
Binary files /dev/null and b/img/ui/desktop/game-event-overview.png differ
diff --git a/img/ui/desktop/game-screen.png b/img/ui/desktop/game-screen.png
new file mode 100644
index 0000000..dd886e8
Binary files /dev/null and b/img/ui/desktop/game-screen.png differ
diff --git a/img/ui/desktop/landingpage.png b/img/ui/desktop/landingpage.png
new file mode 100644
index 0000000..9aa9fa7
Binary files /dev/null and b/img/ui/desktop/landingpage.png differ
diff --git a/img/ui/desktop/landingpage.svg b/img/ui/desktop/landingpage.svg
new file mode 100644
index 0000000..cf1aeb4
--- /dev/null
+++ b/img/ui/desktop/landingpage.svg
@@ -0,0 +1,139 @@
+