Add ward and install
Fix install.js
Add tests