Add connection with working server. Remove Socket.IO. Add figure rotate.

Add connection with working server. Remove Socket.IO. Add figure rotate.