Starting to shape chat.
Chat is now pulling every 5 second for messages
Added standalone application possibilities.
updated api