diff --git a/theodolite-quarkus/src/main/kotlin/theodolite/ServiceManager.kt b/theodolite-quarkus/src/main/kotlin/theodolite/ServiceManager.kt
index d24877bfe91e8eb470156db5ea8835cf7b095236..1e8f627f28afce6c13b8af175e3c38721f5abc72 100644
--- a/theodolite-quarkus/src/main/kotlin/theodolite/ServiceManager.kt
+++ b/theodolite-quarkus/src/main/kotlin/theodolite/ServiceManager.kt
@@ -4,7 +4,7 @@ import io.fabric8.kubernetes.api.model.Service
 import io.fabric8.kubernetes.client.NamespacedKubernetesClient
 
 class ServiceManager(client: NamespacedKubernetesClient) {
-    lateinit var client: NamespacedKubernetesClient
+    var client: NamespacedKubernetesClient
 
     init {
         this.client = client
diff --git a/theodolite-quarkus/src/main/kotlin/theodolite/YamlLoader.kt b/theodolite-quarkus/src/main/kotlin/theodolite/YamlLoader.kt
index 2c338f664a389aa214846714343d84a42b3ff7ef..1a7e36dabe101cfdb81dcdc4d27d8871cdd2a6f6 100644
--- a/theodolite-quarkus/src/main/kotlin/theodolite/YamlLoader.kt
+++ b/theodolite-quarkus/src/main/kotlin/theodolite/YamlLoader.kt
@@ -9,29 +9,49 @@ import mu.KotlinLogging
 private val logger = KotlinLogging.logger {}
 
 class YamlLoader(client: NamespacedKubernetesClient) {
-    lateinit var client: NamespacedKubernetesClient
+    var client: NamespacedKubernetesClient
 
     init {
         this.client = client
     }
 
+    /**
+     * Parses a Service from a servive yaml
+     * @param path of the yaml file
+     * @return service from fabric8
+     */
     fun loadService(path: String): Service? {
 
         val service = loadGenericRessource(path, { x: String -> client.services().load(x).get() })
         return service
     }
 
+    /**
+     * Parses a Deployment from a Deployment yaml
+     * @param path of the yaml file
+     * @return Deployment from fabric8
+     */
     fun loadDeployment(path: String): Deployment? {
         val deployment = loadGenericRessource(path, { x: String -> client.apps().deployments().load(x).get() })
         return deployment
     }
 
+    /**
+     * Parses a ConfigMap from a ConfigMap yaml
+     * @param path of the yaml file
+     * @return ConfigMap from fabric8
+     */
     fun loadConfigmap(path: String): ConfigMap? {
         val configMap = loadGenericRessource(path, { x: String -> client.configMaps().load(x).get() })
         return configMap
     }
 
-    fun <T> loadGenericRessource(path: String, f: (String) -> T): T? {
+    /**
+     * Generic helper function to load a resource.
+     * @param path of the resource
+     * @param f fuction that shall be applied to the resource.
+     */
+    private fun <T> loadGenericRessource(path: String, f: (String) -> T): T? {
         var resource: T? = null
 
         try {