add module library and test. update readme.md