The main file of the ChatBox