adds lib/stringify.js
split files; #1