started basic functionality for chat server