seperate client and server code
add node.js for both client and server