refactred js code
added node script to add seeds from file