Moved require to the file in which the module it requires is used