Libraries Organization
From MoodleDocs
Moodle 2.0
This document has for goal to defined a libraries structure to avoid to end up with a mess of function everywhere into Moodle.
For example at this moment, group library functions can be found in group/lib.php, group/locallib.php and lib/grouplib.php.