changing the permissions on the module directory and updating the build script name
Cleaning up warnings and some unused code.
Adding some comments to the module