correcting logic issues, making Classify into a node module