Separate the Drive class in its own module and add a lock file to prevent two executions in the same dir at the same time