Initialized frontend and socket.io backend.