removing jade, adding socket io
removing not used code