moved system over to socket.io