Refactor / Track connected clients

naive array implementation for now.