add configs and source files, update README, prepare for npm publishing
0.0.2