Add build task, and refactor
Fix README.md