Are you still working on your drawing application? If so, the schematic would look something like this:
A class for the pencil tool is attached to your pencil movieclip/object.
A class for the eraser tool is attached to your eraser movieclip/object.
It's called object oriented programming for a reason.
If you need to call multiple classes within your Document class, use the import directive.

