Setup client. Implementing Model, view, controller design