implement few test and class
impl cal
add md
change some structure and code some class