made the module and classes external