working on chatserver, skelton and recieve functions in place