diff --git a/cleanrepo.sh b/cleanrepo.sh
new file mode 100644
index 00000000..cb4ecf4b
--- /dev/null
+++ b/cleanrepo.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+cd ~/bms-to-inverter
+git restore *
+git pull
+cp ~/pom.xml.mine ~/bms-to-inverter/bms-to-inverter-main/pom.xml
+cp ~/config.properties.mine ~/bms-to-inverter/bms-to-inverter-main/src/main/resources/config.properties
+cp ~/log4j2.xml.mine ~/bms-to-inverter/bms-to-inverter-main/src/main/resources/log4j2.xml
+
+mvn clean package -DskipTests
+rm -R ~/final
+mkdir ~/final
+unzip ~/bms-to-inverter/bms-to-inverter-main/target/bms-to-inverter-main-0.0.1-SNAPSHOT.zip -d ~/final
+cd ~/final/bms-to-inverter-main-0.0.1-SNAPSHOT
+java -jar bms-to-inverter-main-0.0.1-SNAPSHOT.jar
\ No newline at end of file
diff --git a/config.properties.mine b/config.properties.mine
new file mode 100644
index 00000000..cf06a028
--- /dev/null
+++ b/config.properties.mine
@@ -0,0 +1,91 @@
+###################################################################
+### System specific settings ###
+###################################################################
+
+# The number of battery packs (not cells) of the system
+numBatteryPacks=1
+
+
+###################################################################
+### Protocol specific settings ###
+###################################################################
+
+# RS485 properties
+RS485.baudrate=9600
+RS485.startFlag=165
+RS485.frameLength=13
+
+
+# ModBus properties
+ModBus.baudrate=9600
+
+
+###################################################################
+### BMS settings ###
+###################################################################
+
+#### Simple single port configuration ####
+# BMS port protocol (CAN/RS485/ModBus)
+bms.portProtocol=RS485
+#bms.portProtocol=CAN
+
+# The port name/device to use to communicate to the BMS
+#bms.portLocator=com3
+#bms.portLocator=can0
+#bms.portLocator=/dev/ttyS0
+bms.portLocator=/dev/ttyUSB0
+
+#### Or for multiple BMSes connected to multiple ports ####
+#bms.0.portProtocol=CAN
+#bms.0.portLocator=can0
+#bms.1.portProtocol=CAN
+#bms.1.portLocator=can1
+#bms.2.portProtocol=CAN
+#bms.2.portLocator=can2
+#etc...
+
+# Interval to request BMS data (in seconds)
+bms.pollInterval=60
+
+
+###################################################################
+### Inverter settings ###
+###################################################################
+
+# The port name/device to use to communicate to the inverter
+inverter.portLocator=can1
+# Interval to send data to the inverter (in seconds)
+inverter.sendInterval=1
+
+
+###################################################################
+### Optional services settings ###
+###################################################################
+
+#### MQTT properties ####
+# The URL to of the MQTT broker
+mqtt.locator=tcp://127.0.0.1:61616
+# The topic name on the MQTT broker
+mqtt.topic=energystorage
+
+
+#### Email properties ####
+mail.out.debug=false
+# SMTP or IMAP address of the outgoing server
+mail.out.host=smtp.gmail.com
+# The port of the outgoing server
+mail.out.port=587
+# smtp for TLS, smtps for SSL
+mail.out.type=smtp
+# User name to authenticate at the outgoing server
+mail.out.username=
+# Password to authenticate at the outgoing server
+mail.out.password=
+# Disable if using TLS
+mail.out.sslEnable=false
+# Disable if using SSL
+mail.out.tlsEnable=true
+# The email address to use when sending emails
+mail.out.defaultEmail=
+# A (comma separated) list of pre-configured email recipients
+mail.recipients=
diff --git a/log4j2.xml.mine b/log4j2.xml.mine
new file mode 100644
index 00000000..5e9cebfc
--- /dev/null
+++ b/log4j2.xml.mine
@@ -0,0 +1,32 @@
+
+
+
+
+ BMS-to-Inverter
+ %d{yyyy-MM-dd HH:mm:ss.SSS} | %-5.5p | %-10.10t | %-20.20C:%-5.5L | %msg%n
+
+
+
+
+
+
+
+
+ ${pattern}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pom.xml.mine b/pom.xml.mine
new file mode 100644
index 00000000..2917638f
--- /dev/null
+++ b/pom.xml.mine
@@ -0,0 +1,196 @@
+
+ 4.0.0
+
+ bms-to-inverter-main
+
+
+ com.ai-republic.bms-to-inverter
+ bms-to-inverter-parent
+ 0.0.1-SNAPSHOT
+
+
+ ${project.artifactId}-${project.version}
+ Application to communicate between a BMS and inverter
+
+
+ UTF-8
+ UTF-8
+
+
+
+
+
+ maven-jar-plugin
+ 3.3.0
+
+
+
+ true
+ lib/
+
+ com.airepublic.bmstoinverter.BmsToInverter
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+ 3.6.0
+
+
+ copy-dependencies
+ package
+
+ copy-dependencies
+
+
+ ${project.build.directory}/lib
+ false
+ false
+ true
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+
+
+ create-distribution
+ package
+
+ single
+
+
+
+ assembly/zip.xml
+
+
+
+
+
+
+
+
+
+
+
+ org.jboss.weld.se
+ weld-se-shaded
+ 5.1.1.Final
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ com.ai-republic.bms-to-inverter
+ bms-daly-rs485
+ ${project.version}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ com.ai-republic.bms-to-inverter
+ inverter-dummy
+ ${project.version}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ com.ai-republic.email
+ email-api
+ 1.0.5
+
+
+
+
+
+
+
+ com.ai-republic.bms-to-inverter
+ service-mqtt-broker
+ ${project.version}
+
+
+
+ com.ai-republic.bms-to-inverter
+ service-mqtt-client
+ ${project.version}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file