Refactor project to use sbt.