Added module assetsPath function to get the path to its asset directory