moved scripts related to creating and closing MQTT connection into connection folder