simplify api, update readme and tests
1.0.0