Complete migration to nodejs
Add validation tests