Add view drawing and handle client actions.