Restructurize how chat app works