Encapsulated the AB switch that controls exploration mode into its own file, see #39.