change code style

first: public protected private ; second: change some interface object
name