Preparations made for integration in Apache served project

server.js can now be used for launching the socket.
a package.json file has been added