big refactor, exposed events, separated nodejs use from cli
0.1.2