Moved the exploration modes into separate files for greater modularization.