reimplemented modules searching and naming.