Introduced client core. Communication between UI and core via socket.