Wrote nodejs client

I wrote a small index file and a server to interact with the
socket_server. Made changes throughout based on testing.