I want to organize it in a way so that a user can require the entire lib, a subset of it, or an individual part of it. I think it can be organized into folders and sub-folders. For example, take Group.moveto() . Here is an example folder layout and usage:
And here is the example usage:
You can download an example help file.
# require everything.
# include everything in the groups folder only.
# include only the moveto method in the groups folder.