minor cleanup: parser clone method, parser error message (no trace unless debug), documentation
prepare proper buildscripts
adds npm package