Added methods to access and set fields of ClientConnection, added Entity interface