Rough idea of what this will do
Imports for time, path handling and UUIDs
Set up all the necessary logging
Open the connection file exclusively
Move all of the connection archive stuff to the right place