added package.json, .gitignore, ability to set random-seed (with test for same)