Refactor Scala API
Publish new artifacts