添加person类，优化ball