Significantly change API
Adapt implementation to new API
Add getter methods
Add line erase methods