Added support for requiring a folder via ./index.js