diff --git a/source/orchestrationLogic/HEAT/lb.yaml b/source/orchestrationLogic/HEAT/lb.yaml
index c36ac8cbb27426a379a3ac62bb0d443135825419..813fa62a681fd9515633bf5623c5daa55fbaee28 100644
--- a/source/orchestrationLogic/HEAT/lb.yaml
+++ b/source/orchestrationLogic/HEAT/lb.yaml
@@ -1,37 +1,40 @@
+# The code below is for the load balancer, it includes load balancing for 
+# rdp and sftp. The documentation for openstack resource types were used
+# to know what resources and properties were necassary for the balancnig
+# logic
 heat_template_version: 2018-08-31
 
 parameters:
-  project_name:
+  project_name: # Name of the project
     type: string
     description: Navn på prosjektet
     default: Prosjekt_X
-
-  heat_network_subnet:
+  heat_network_subnet: # The network the balancer should be part of.
     type: string
 
 resources:
-  rdp_balancer:
+  rdp_balancer: # The acutal load balancer
     type: OS::Octavia::LoadBalancer
     properties:
       name:
-        list_join: [ '-', [ { get_param: project_name }, 'RDP_LB' ] ]
-      vip_subnet: { get_param: heat_network_subnet }
+        list_join: [ '-', [ { get_param: project_name }, 'RDP_LB' ] ] # Name of the load balancer combined with project name
+      vip_subnet: { get_param: heat_network_subnet } # Assigning load balancer to subnet
 
-  rdp_listener:
+  rdp_listener: # Listener
     type: OS::Octavia::Listener
     properties:
       loadbalancer: { get_resource: rdp_balancer }
       protocol: TCP
       protocol_port: 3389
 
-  sftp_listener:
+  sftp_listener: #Listener for sftp
     type: OS::Octavia::Listener
     properties:
       loadbalancer: { get_resource: rdp_balancer }
       protocol: TCP
       protocol_port: 22
 
-  rdp_pool:
+  rdp_pool: # Pool for rdp
     type: OS::Octavia::Pool
     properties:
       lb_algorithm: ROUND_ROBIN
@@ -39,7 +42,7 @@ resources:
       listener: { get_resource: rdp_listener }
       session_persistence: { "type": SOURCE_IP }
 
-  sftp_poolmember:
+  sftp_poolmember: # File server is made pool member
     type: OS::Octavia::PoolMember
     properties:
       address: "192.168.0.2"
@@ -47,7 +50,7 @@ resources:
       subnet: {get_param: heat_network_subnet}
       pool: {get_resource: sftp_pool}
       
-  sftp_pool:
+  sftp_pool: # Pool for sftp
     type: OS::Octavia::Pool
     properties:
       lb_algorithm: ROUND_ROBIN
@@ -55,7 +58,7 @@ resources:
       listener: { get_resource: sftp_listener }
       session_persistence: { "type": SOURCE_IP }
 
-  health_monitor:
+  health_monitor: # Health monitor for the load balancer
     type: OS::Octavia::HealthMonitor
     properties:
       delay: 5
@@ -64,12 +67,12 @@ resources:
       type: TCP
       pool: { get_resource: rdp_pool }
     
-  lb_floating:
+  lb_floating: # Floating IP for accessing load balancer
     type: OS::Neutron::FloatingIP
     properties:
       floating_network: ntnu-internal
 
-  lb_floating_association:
+  lb_floating_association: # Associates the address to the load balancer
     type: OS::Neutron::FloatingIPAssociation
     properties:
       floatingip_id: { get_resource: lb_floating }
diff --git a/source/orchestrationLogic/HEAT/rdp_lb_member.yaml b/source/orchestrationLogic/HEAT/rdp_lb_member.yaml
index 869a9239bfb41192e6de946830b137f1f4cdf458..b9ed0768ee822e5d4548cbe5a10e8024559dfc63 100644
--- a/source/orchestrationLogic/HEAT/rdp_lb_member.yaml
+++ b/source/orchestrationLogic/HEAT/rdp_lb_member.yaml
@@ -43,7 +43,7 @@ resources:
           params:
             <RDPMembers>: {get_param: RDP_members}
 
-  poolmember:
+  poolmember: # The virtual workstation made a pool member
     type: OS::Octavia::PoolMember
     properties:
       address: { get_attr: [ server, first_address ] }