Modify CreateConnection class + ImageEnum class to work if we export the application in a Runnable JAR