add error handling, fix bugs, update README etc
v0.0.4