added in http server and socket io for pushing data to browser