rewrite of ensime-sbt