moved driver folder, added new sample_interval parameter, and refactored duplicate sample checking