Cleaned up and refactored socket.io server
Tweaked code that generates CSFR token for google auth.
Changed directories