v1.0.0

Fixes #5
Fixes #6
Fixes #7
Add tests