Fixed tests and made perf improvements
Fixed all bugs and made great perf improvements + added node.js script + pretified print information