moved the max_reps stuff to its own module since it has its own .module file