add package: 'client',and modifies the package ‘view'