[CS-26] implemented core structure for client