cleaning the codes

The order of methods are
public
protected
private
getter & setter