Use package.json instead of npm directly
Move the nodes function to a module
Add Makefile
Create javascript abstraction for installing packages