added ejs and socket.io support.