migrate to sbt and sonatype repo