updated readme and added requireRootDir to set from where the require statement needs to start