Construct the backbone of the client