A Framework to Enhance Adaptivity in Moodle