add rest, fix bug, release v0.1.0