Custom Reports module for Moodle 1.9.x