added a chatData.php, this wil create a JOSN representation of the chat
updated the chat update
startet chat controller
added automatic chat update every 5 seconds