removed implementation of require

now it will not register itself in require and I can do that manually
Revert "removed implementation of require"

This reverts commit e26d80272c1c66dbe524e3748152e224d997ace5.