Made PersistentConnection a separate class
Made 2 separate handlers for chat and move shape.