move spike into examples directory
refactor into node package