Using substack pattern able to store module __dirname.
Adding URL for example of add-on returning function.