Organizing general structure

added socket.io connection to hashBack