added attr change support, up/down and metric change
removed useless class
add comments