Added a latest demo and optimize some classes.