Added main.js to show an example server