Adds the class files of a module to the metadata.

First draft. Still doing the unit tests.