node+nginx setup and working. writing custom server code now