copied load_module from pypository