changed packets classes to take only ClientConnection in constructor