Extracted ChatServer class and structured functionality by methods.
Moved classes to correct project and location