refactor
implement save daily stat
Improve library
add library
v0.5