Refactored equares node server; now it's a middleware. Removed insecure commands.