add grunt instead of makefile
rewrite library for support node streams > 0.10