Added missing package.js
DGIT test
Added documentation for functions module