Hongyi: make this project an android library, remove unnecessary files and modify code base according to code review