Various changes

* Add support for Node usage
* Write tests
* Refactor code
Release 0.2.0