Updated the code to use exports and updated the code to generate the
distribution