adds top-level modules.