diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 0000000..f17d63e
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,7 @@
+.mvn/wrapper/maven-wrapper.jar
+.idea
+.git
+.github
+.gitlab
+.gitlab-ci.yml
+.vscode
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7390642..818c43f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,6 +5,8 @@ variables:
DOCKER_BUILDKIT: 0
AUTO_DEVOPS_BUILD_CACHE: registry
AUTO_DEPLOY_IMAGE_VERSION: 'v2.47.0'
+ GIT_SUBMODULE_STRATEGY: recursive
+ GIT_SUBMODULE_FORCE_HTTPS: "true"
stages:
- build
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..57bee33
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "core"]
+ path = core
+ url = http://github.com/slovensko-digital/autogram-core.git
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
index cec49c8..5dcb74d 100644
--- a/.idea/compiler.xml
+++ b/.idea/compiler.xml
@@ -6,14 +6,15 @@
-
+
+
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
deleted file mode 100644
index aa00ffa..0000000
--- a/.idea/encodings.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
deleted file mode 100644
index c5b0955..0000000
--- a/.idea/inspectionProfiles/Project_Default.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
deleted file mode 100644
index 712ab9d..0000000
--- a/.idea/jarRepositories.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 12627dd..d48cce2 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -5,9 +5,10 @@
-
-
+
\ No newline at end of file
diff --git a/.idea/runConfigurations/Autogram_Service_Main.xml b/.idea/runConfigurations/Autogram_Service_Main.xml
new file mode 100644
index 0000000..cea09e8
--- /dev/null
+++ b/.idea/runConfigurations/Autogram_Service_Main.xml
@@ -0,0 +1,10 @@
+
+
+