Setup the client framework.